Classes/Domain/Repository/SitemapRepository.php
private function hidePagesIfHiddenInDefaultTranslation($pages)
    {
        $language = GeneralUtility::_GET('L');

        if ($language != 0) {
            return $pages;
        }

        foreach ($pages as $key => $page) {
            if ($page['l18n_cfg'] === 1) {
                unset($pages[$key]);
            }
        }

        return $pages;
    }
private function hidePagesIfHiddenInDefaultTranslation($pages)
    {
        $language = GeneralUtility::_GET('L');

        if ($language != 0) {
            return $pages;
        }

        foreach ($pages as $key => $page) {
            if ($page['l18n_cfg'] === 1) {
                unset($pages[$key]);
            }
        }

        return $pages;
    }
private function hidePagesIfHiddenInDefaultTranslation ( $ pages ) { $ language = GeneralUtility :: _GET ( 'L' ) ; if ( $ language != 0 ) { return $ pages ; } foreach ( $ pages as $ key => $ page ) { if ( $ page [ 'l18n_cfg' ] === 1 ) { unset ( $ pages [ $ key ] ) ; } } return $ pages ; }
Remove page if hidden in default translation

@param array $pages

@return array
Remove page if hidden in default translation