Document/Index/ArticleIndexer.php
private function setParentPageUuid(
        ArticleDocument $document,
        ArticleViewDocumentInterface $article
    ) {
        $parentPageUuid = $this->getParentPageUuidFromPageTree($document);

        if (!$parentPageUuid) {
            return;
        }

        $article->setParentPageUuid($parentPageUuid);
    }
private function setParentPageUuid(
        ArticleDocument $document,
        ArticleViewDocumentInterface $article
    ) {
        $parentPageUuid = $this->getParentPageUuidFromPageTree($document);

        if (!$parentPageUuid) {
            return;
        }

        $article->setParentPageUuid($parentPageUuid);
    }
private function setParentPageUuid ( ArticleDocument $ document , ArticleViewDocumentInterface $ article ) { $ parentPageUuid = $ this -> getParentPageUuidFromPageTree ( $ document ) ; if ( ! $ parentPageUuid ) { return ; } $ article -> setParentPageUuid ( $ parentPageUuid ) ; }
Set parent-page-uuid to view-document.

@param ArticleDocument $document
@param ArticleViewDocumentInterface $article
Set parent - page - uuid to view - document .