protected function addPageToMountingSiteIndexQueue($mountedPageId, array $mountProperties)
    {
        $siteRepository = GeneralUtility::makeInstance(SiteRepository::class);
        $mountingSite = $siteRepository->getSiteByPageId($mountProperties['mountPageDestination']);

        /** @var $pageInitializer Page */
        $pageInitializer = GeneralUtility::makeInstance(Page::class);
        $pageInitializer->setSite($mountingSite);

        $pageInitializer->initializeMountedPage($mountProperties, $mountedPageId);
    }
protected function addPageToMountingSiteIndexQueue($mountedPageId, array $mountProperties)
    {
        $siteRepository = GeneralUtility::makeInstance(SiteRepository::class);
        $mountingSite = $siteRepository->getSiteByPageId($mountProperties['mountPageDestination']);

        /** @var $pageInitializer Page */
        $pageInitializer = GeneralUtility::makeInstance(Page::class);
        $pageInitializer->setSite($mountingSite);

        $pageInitializer->initializeMountedPage($mountProperties, $mountedPageId);
    }
protected function addPageToMountingSiteIndexQueue ( $ mountedPageId , array $ mountProperties ) { $ siteRepository = GeneralUtility :: makeInstance ( SiteRepository :: class ) ; $ mountingSite = $ siteRepository -> getSiteByPageId ( $ mountProperties [ 'mountPageDestination' ] ) ; /** @var $pageInitializer Page */ $ pageInitializer = GeneralUtility :: makeInstance ( Page :: class ) ; $ pageInitializer -> setSite ( $ mountingSite ) ; $ pageInitializer -> initializeMountedPage ( $ mountProperties , $ mountedPageId ) ; }
Adds a page to the Index Queue of a site mounting the page.

@param int $mountedPageId ID (uid) of the mounted page.
@param array $mountProperties Array of mount point properties mountPageSource, mountPageDestination, and mountPageOverlayed
Adds a page to the Index Queue of a site mounting the page .