List collections with vue component #40

Merged
chris merged 4 commits from collection-list into develop 2021-11-10 13:59:26 +01:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit d6d9260c0e - Show all commits

View File

@ -7,6 +7,7 @@ $archiveSiteHelper = $this->getHelperPluginManager()->get('archiveSiteMeta');
$collections = []; $collections = [];
foreach($sites as $site){ foreach($sites as $site){
$site_data = $archiveSiteHelper->getSiteMetaValues($site); $site_data = $archiveSiteHelper->getSiteMetaValues($site);
$site_data['id'] = $site->id();
$site_data['url'] = $site->siteUrl(); $site_data['url'] = $site->siteUrl();
$site_data['title'] = $site->title(); $site_data['title'] = $site->title();
$site_data['summary'] = nl2br($this->escapeHtml($site->summary())); $site_data['summary'] = nl2br($this->escapeHtml($site->summary()));