Adds cross site api #4
|
@ -119,6 +119,9 @@ class ArchiveSiteMetaViewHelper extends AbstractHelper
|
|||
$view = $this->getView();
|
||||
return isset($view->site)
|
||||
? $view->site
|
||||
: $view->getHelperPluginManager()->get('Laminas\View\Helper\ViewModel')->getRoot()->getVariable('site');
|
||||
: $view->getHelperPluginManager()
|
||||
->get('Laminas\View\Helper\ViewModel')
|
||||
->getRoot()
|
||||
->getVariable('site');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue