loads collection list with human readable collection name

This commit is contained in:
buttle 2021-11-24 12:12:48 +01:00
parent 3164787d19
commit 82d895d7e7
1 changed files with 4 additions and 1 deletions

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');
} }
} }