oEmbed-omeka-module/config/module.config.php

39 lines
1.0 KiB
PHP
Raw Normal View History

2021-09-02 13:38:14 +02:00
<?php
namespace ArchiveOembed;
return [
'view_manager' => [
'template_path_stack' => [
dirname(__DIR__) . '/view',
]
],
'block_layouts' => [
'factories' => [
'archiveOembed' => Service\BlockLayout\ArchiveOembedFactory::class,
],
],
'form_elements' => [
'invokables' => [
Form\ArchiveOembedBlockForm::class => Form\ArchiveOembedBlockForm::class,
],
],
'media_ingesters' => [
'factories' => [
'ArchiveOembed_media' => Service\Media\Ingester\ArchiveOembedMediaFactory::class,
],
],
'media_renderers' => [
'invokables' => [
'ArchiveOembed_media' => Media\Renderer\ArchiveOembedMediaRenderer::class,
],
],
'DefaultSettings' => [
'ArchiveOembedBlockForm' => [
'title' => '',
'renderSourceLink' => true,
'width' => 100,
'wrapStyle' => 'overflow-y: hidden;display: flex;flex-direction: column;justify-content: center;',
]
]
];