protected function _renderRepeatedDisplayViewItem($displayView, $data = [])
    {
        $pageOverride = PageBuilder::getData('pageOverride');
        $item = reset($data);
        PageBuilder::setData('pageOverride', $item->page);
        $renderedView = parent::_renderRepeatedDisplayViewItem($displayView, $data);
        PageBuilder::setData('pageOverride', $pageOverride);
        return $renderedView;
    }
protected function _renderRepeatedDisplayViewItem($displayView, $data = [])
    {
        $pageOverride = PageBuilder::getData('pageOverride');
        $item = reset($data);
        PageBuilder::setData('pageOverride', $item->page);
        $renderedView = parent::_renderRepeatedDisplayViewItem($displayView, $data);
        PageBuilder::setData('pageOverride', $pageOverride);
        return $renderedView;
    }
protected function _renderRepeatedDisplayViewItem ( $ displayView , $ data = [ ] ) { $ pageOverride = PageBuilder :: getData ( 'pageOverride' ) ; $ item = reset ( $ data ) ; PageBuilder :: setData ( 'pageOverride' , $ item -> page ) ; $ renderedView = parent :: _renderRepeatedDisplayViewItem ( $ displayView , $ data ) ; PageBuilder :: setData ( 'pageOverride' , $ pageOverride ) ; return $ renderedView ; }
Set default page id to selected page in the repeated view
@param string $displayView
@param array $data
@return string
Set default page id to selected page in the repeated view