Archive.org-omeka-module/config/module.config.php

42 lines
1.1 KiB
PHP

<?php
namespace ArchiveOrg;
return [
'view_manager' => [
'template_path_stack' => [
dirname(__DIR__) . '/view',
]
],
'block_layouts' => [
'factories' => [
'archiveOrg' => Service\BlockLayout\ArchiveOrgFactory::class,
],
],
'form_elements' => [
'invokables' => [
Form\ArchiveOrgBlockForm::class => Form\ArchiveOrgBlockForm::class,
],
],
'media_ingesters' => [
'factories' => [
'ArchiveOrg_media' => Service\Media\Ingester\ArchiveOrgMediaFactory::class,
],
],
'media_renderers' => [
'invokables' => [
'ArchiveOrg_media' => Media\Renderer\ArchiveOrgMediaRenderer::class,
],
],
'DefaultSettings' => [
'ArchiveOrgBlockForm' => [
'media_type' => 'video',
'title' => '',
'renderSourceLink' => true,
'width' => 600,
'ratio' => '2',
'autoLoad' => false,
'wrapStyle' => 'overflow-y: hidden;display: flex;flex-direction: column;justify-content: center;',
]
]
];