Document/Subscriber/ArticleSubscriber.php
public function persistPageData($event)
    {
        $document = $event->getDocument();
        if (!$document instanceof ArticleDocument) {
            return;
        }

        $this->setPageData($document, $event->getNode(), $event->getLocale());
    }
public function persistPageData($event)
    {
        $document = $event->getDocument();
        if (!$document instanceof ArticleDocument) {
            return;
        }

        $this->setPageData($document, $event->getNode(), $event->getLocale());
    }
public function persistPageData ( $ event ) { $ document = $ event -> getDocument ( ) ; if ( ! $ document instanceof ArticleDocument ) { return ; } $ this -> setPageData ( $ document , $ event -> getNode ( ) , $ event -> getLocale ( ) ) ; }
Persist page-data.

@param PersistEvent|PublishEvent $event
Persist page - data .