Neos\Neos\Fusion\AbstractMenuImplementation::getItems PHP Method

getItems() public method

Main API method which sends the to-be-rendered data to Fluid
public getItems ( ) : array
return array
    public function getItems()
    {
        if ($this->items === null) {
            $typoScriptContext = $this->tsRuntime->getCurrentContext();
            $this->currentNode = isset($typoScriptContext['activeNode']) ? $typoScriptContext['activeNode'] : $typoScriptContext['documentNode'];
            $this->currentLevel = 1;
            $this->items = $this->buildItems();
        }
        return $this->items;
    }