arc-hive-site-omeka-module/config/module.config.php

49 lines
1.5 KiB
PHP
Raw Normal View History

2021-05-04 10:55:27 +02:00
<?php
namespace ArchiveSiteMeta;
return [
'view_manager' => [
'template_path_stack' => [
dirname(__DIR__) . '/view',
],
'template_map' => [
'omeka/index/index' => __DIR__ . '/../../../themes/archive/view/omeka/site/index.phtml',
2021-05-08 11:46:36 +02:00
'omeka/search/results' => __DIR__ . '/../../../themes/archive/view/omeka/search/results.phtml',
2021-05-04 10:55:27 +02:00
],
],
'view_helpers' => [
'factories' => [
'archiveSiteMeta' => Service\ViewHelper\ArchiveSiteMetaViewHelperFactory::class,
//'archiveSiteMeta' => View\Helper\ArchiveSiteMeta::class,
//'siteCollections' => View\Helper\SiteCollections::class,
2021-05-04 10:55:27 +02:00
],
],
'block_layouts' => [
'factories' => [
'archiveSiteMeta' => Service\BlockLayout\ArchiveSiteMetaFactory::class,
],
],
'form_elements' => [
'invokables' => [
Form\ArchiveSiteMetaBlockForm::class => Form\ArchiveSiteMetaBlockForm::class,
],
'factories' => [
Form\ConfigForm::class => Service\Form\ConfigFormFactory::class,
],
],
'config' => [
'SiteMeta' => [
'sitemeta_collections' => '',
],
],
'DefaultSettings' => [
'ArchiveSiteMetaBlockForm' => [
'page_type' => 'home',
'currator' => '',
'project_date' => '',
'collection' => '',
'wrapStyle' => 'overflow-y: hidden;display: flex;flex-direction: column;justify-content: center;',
],
]
];