protected function resolveMountPageTree($mountPage)
    {
        $mountPageSourceId = $mountPage['mountPageSource'];
        $mountPageIdentifier = $this->getMountPointIdentifier($mountPage);

        $siteRepository = GeneralUtility::makeInstance(SiteRepository::class);
        /* @var $siteRepository SiteRepository */
        $mountedSite = $siteRepository->getSiteByPageId($mountPageSourceId, $mountPageIdentifier);

        return $mountedSite->getPages($mountPageSourceId);
    }
protected function resolveMountPageTree($mountPage)
    {
        $mountPageSourceId = $mountPage['mountPageSource'];
        $mountPageIdentifier = $this->getMountPointIdentifier($mountPage);

        $siteRepository = GeneralUtility::makeInstance(SiteRepository::class);
        /* @var $siteRepository SiteRepository */
        $mountedSite = $siteRepository->getSiteByPageId($mountPageSourceId, $mountPageIdentifier);

        return $mountedSite->getPages($mountPageSourceId);
    }
protected function resolveMountPageTree ( $ mountPage ) { $ mountPageSourceId = $ mountPage [ 'mountPageSource' ] ; $ mountPageIdentifier = $ this -> getMountPointIdentifier ( $ mountPage ) ; $ siteRepository = GeneralUtility :: makeInstance ( SiteRepository :: class ) ; /* @var $siteRepository SiteRepository */ $ mountedSite = $ siteRepository -> getSiteByPageId ( $ mountPageSourceId , $ mountPageIdentifier ) ; return $ mountedSite -> getPages ( $ mountPageSourceId ) ; }
Gets all the pages from a mounted page tree.

@param array $mountPage
@return array An array of page IDs in the mounted page tree
Gets all the pages from a mounted page tree .