Neos\Neos\Ui\Domain\Service\NodeTreeBuilder::setRoot PHP Method

setRoot() public method

Set the root node
public setRoot ( string $rootContextPath ) : void
$rootContextPath string
return void
    public function setRoot($rootContextPath)
    {
        $this->root = $this->nodeService->getNodeFromContextPath($rootContextPath);
    }