protected function getSpecialPageList() {
        $siteId = $this->contextManager->getSiteId();
        $language = $this->contextManager->getSiteDefaultLanguage();
        $specialPages = $this->nodeRepository->findAllSpecialPage($language, $siteId);

        $specialPageChoice = array();
        foreach ($specialPages as $node) {
            $specialPageChoice[$node->getId()] = $node->getSpecialPageName();
        }

        return $specialPageChoice;
    }
protected function getSpecialPageList() {
        $siteId = $this->contextManager->getSiteId();
        $language = $this->contextManager->getSiteDefaultLanguage();
        $specialPages = $this->nodeRepository->findAllSpecialPage($language, $siteId);

        $specialPageChoice = array();
        foreach ($specialPages as $node) {
            $specialPageChoice[$node->getId()] = $node->getSpecialPageName();
        }

        return $specialPageChoice;
    }
protected function getSpecialPageList ( ) { $ siteId = $ this -> contextManager -> getSiteId ( ) ; $ language = $ this -> contextManager -> getSiteDefaultLanguage ( ) ; $ specialPages = $ this -> nodeRepository -> findAllSpecialPage ( $ language , $ siteId ) ; $ specialPageChoice = array ( ) ; foreach ( $ specialPages as $ node ) { $ specialPageChoice [ $ node -> getId ( ) ] = $ node -> getSpecialPageName ( ) ; } return $ specialPageChoice ; }
get special pages list

@return array
get special pages list