protected function addIndexQueueItemIndexingProperties(array $mountPage, array $mountedPages)
    {
        $mountIdentifier = $this->getMountPointIdentifier($mountPage);
        $mountPageItems = $this->queueItemRepository->findAllIndexQueueItemsByRootPidAndMountIdentifierAndMountedPids($this->site->getRootPageId(), $mountIdentifier, $mountedPages);

        foreach ($mountPageItems as $mountPageItemRecord) {
            /* @var Item $mountPageItem */
            $mountPageItem = GeneralUtility::makeInstance(Item::class, /** @scrutinizer ignore-type */ $mountPageItemRecord);
            $mountPageItem->setIndexingProperty('mountPageSource', $mountPage['mountPageSource']);
            $mountPageItem->setIndexingProperty('mountPageDestination', $mountPage['mountPageDestination']);
            $mountPageItem->setIndexingProperty('isMountedPage', '1');

            $mountPageItem->storeIndexingProperties();
        }
    }
protected function addIndexQueueItemIndexingProperties(array $mountPage, array $mountedPages)
    {
        $mountIdentifier = $this->getMountPointIdentifier($mountPage);
        $mountPageItems = $this->queueItemRepository->findAllIndexQueueItemsByRootPidAndMountIdentifierAndMountedPids($this->site->getRootPageId(), $mountIdentifier, $mountedPages);

        foreach ($mountPageItems as $mountPageItemRecord) {
            /* @var Item $mountPageItem */
            $mountPageItem = GeneralUtility::makeInstance(Item::class, /** @scrutinizer ignore-type */ $mountPageItemRecord);
            $mountPageItem->setIndexingProperty('mountPageSource', $mountPage['mountPageSource']);
            $mountPageItem->setIndexingProperty('mountPageDestination', $mountPage['mountPageDestination']);
            $mountPageItem->setIndexingProperty('isMountedPage', '1');

            $mountPageItem->storeIndexingProperties();
        }
    }
protected function addIndexQueueItemIndexingProperties ( array $ mountPage , array $ mountedPages ) { $ mountIdentifier = $ this -> getMountPointIdentifier ( $ mountPage ) ; $ mountPageItems = $ this -> queueItemRepository -> findAllIndexQueueItemsByRootPidAndMountIdentifierAndMountedPids ( $ this -> site -> getRootPageId ( ) , $ mountIdentifier , $ mountedPages ) ; foreach ( $ mountPageItems as $ mountPageItemRecord ) { /* @var Item $mountPageItem */ $ mountPageItem = GeneralUtility :: makeInstance ( Item :: class , /** @scrutinizer ignore-type */ $ mountPageItemRecord ) ; $ mountPageItem -> setIndexingProperty ( 'mountPageSource' , $ mountPage [ 'mountPageSource' ] ) ; $ mountPageItem -> setIndexingProperty ( 'mountPageDestination' , $ mountPage [ 'mountPageDestination' ] ) ; $ mountPageItem -> setIndexingProperty ( 'isMountedPage' , '1' ) ; $ mountPageItem -> storeIndexingProperties ( ) ; } }
Adds Index Queue item indexing properties for mounted pages. The page
indexer later needs to know that he's dealing with a mounted page, the
indexing properties will let make it possible for the indexer to
distinguish the mounted pages.

@param array $mountPage An array with information about the root/destination Mount Page
@param array $mountedPages An array of mounted page IDs
Adds Index Queue item indexing properties for mounted pages . The page indexer later needs to know that he s dealing with a mounted page the indexing properties will let make it possible for the indexer to distinguish the mounted pages .