eZ\Publish\Core\Persistence\Legacy\Content\Location\Handler::removeSubtree PHP Method

removeSubtree() public method

Performs a recursive delete on the location identified by $locationId, including all of its child locations. Content which is not referred to by any other location is automatically removed. Content which looses its main Location will get the first of its other Locations assigned as the new main Location.
public removeSubtree ( mixed $locationId ) : boolean
$locationId mixed
return boolean
    public function removeSubtree($locationId)
    {
        $this->treeHandler->removeSubtree($locationId);
    }