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

hide() public method

Sets a location to be hidden, and it self + all children to invisible.
public hide ( mixed $id )
$id mixed Location ID
    public function hide($id)
    {
        $sourceNodeData = $this->locationGateway->getBasicNodeData($id);
        $this->locationGateway->hideSubtree($sourceNodeData['path_string']);
    }