Adds cross site api #4

Merged
chris merged 10 commits from develop into main 2021-12-15 10:51:55 +01:00
1 changed files with 4 additions and 1 deletions
Showing only changes of commit 82d895d7e7 - Show all commits

View File

@ -119,6 +119,9 @@ class ArchiveSiteMetaViewHelper extends AbstractHelper
$view = $this->getView(); $view = $this->getView();
return isset($view->site) return isset($view->site)
? $view->site ? $view->site
: $view->getHelperPluginManager()->get('Laminas\View\Helper\ViewModel')->getRoot()->getVariable('site'); : $view->getHelperPluginManager()
->get('Laminas\View\Helper\ViewModel')
->getRoot()
->getVariable('site');
} }
} }