Classes/Hook/SitemapIndexPageHook.php
public function addPageToSitemapIndex()
    {
        if (!$this->checkIfSitemapIndexingIsEnabled('page')) {
            return;
        }

        if (!$this->checkIfNoLanguageFallback()) {
            // got content in fallback language => don't index
            return;
        }

        $pageUrl = $this->getPageUrl();

        // check blacklisting
        if (GeneralUtility::checkUrlForBlacklisting($pageUrl, $this->blacklistConf)) {
            return;
        }

        // Index page
        $pageData = $this->generateSitemapPageData($pageUrl);
        if (!empty($pageData)) {
            SitemapUtility::index($pageData);
        }
    }
public function addPageToSitemapIndex()
    {
        if (!$this->checkIfSitemapIndexingIsEnabled('page')) {
            return;
        }

        if (!$this->checkIfNoLanguageFallback()) {
            // got content in fallback language => don't index
            return;
        }

        $pageUrl = $this->getPageUrl();

        // check blacklisting
        if (GeneralUtility::checkUrlForBlacklisting($pageUrl, $this->blacklistConf)) {
            return;
        }

        // Index page
        $pageData = $this->generateSitemapPageData($pageUrl);
        if (!empty($pageData)) {
            SitemapUtility::index($pageData);
        }
    }
public function addPageToSitemapIndex ( ) { if ( ! $ this -> checkIfSitemapIndexingIsEnabled ( 'page' ) ) { return ; } if ( ! $ this -> checkIfNoLanguageFallback ( ) ) { // got content in fallback language => don't index return ; } $ pageUrl = $ this -> getPageUrl ( ) ; // check blacklisting if ( GeneralUtility :: checkUrlForBlacklisting ( $ pageUrl , $ this -> blacklistConf ) ) { return ; } // Index page $ pageData = $ this -> generateSitemapPageData ( $ pageUrl ) ; if ( ! empty ( $ pageData ) ) { SitemapUtility :: index ( $ pageData ) ; } }
Add Page to sitemap table

@return void
Add Page to sitemap table