/** * Returns the node of the current site. * * @return \TYPO3\TYPO3CR\Domain\Model\NodeInterface */ public function getCurrentSiteNode() { return $this->currentSite === NULL ? NULL : $this->getNode('/sites/' . $this->currentSite->getNodeName()); }