FrontBundle/Twig/GetSpecialPageExtension.php
protected function loadSpecialPages()
    {
        $language = $this->siteManager->getSiteLanguage();
        $siteId = $this->siteManager->getSiteId();
        $this->specialPages = $this->nodeRepository->findAllPublishedSpecialPage($language, $siteId);
    }
protected function loadSpecialPages()
    {
        $language = $this->siteManager->getSiteLanguage();
        $siteId = $this->siteManager->getSiteId();
        $this->specialPages = $this->nodeRepository->findAllPublishedSpecialPage($language, $siteId);
    }
protected function loadSpecialPages ( ) { $ language = $ this -> siteManager -> getSiteLanguage ( ) ; $ siteId = $ this -> siteManager -> getSiteId ( ) ; $ this -> specialPages = $ this -> nodeRepository -> findAllPublishedSpecialPage ( $ language , $ siteId ) ; }
Load special pages
Load special pages