Vimeo-omeka-module/config/module.config.php

39 lines
989 B
PHP
Raw Permalink Normal View History

2021-07-18 20:58:50 +02:00
<?php
namespace Vimeo;
return [
'view_manager' => [
'template_path_stack' => [
dirname(__DIR__) . '/view',
]
],
'block_layouts' => [
'factories' => [
'vimeo' => Service\BlockLayout\VimeoFactory::class,
],
],
'form_elements' => [
'invokables' => [
Form\VimeoBlockForm::class => Form\VimeoBlockForm::class,
],
],
'media_ingesters' => [
'factories' => [
'Vimeo_media' => Service\Media\Ingester\VimeoMediaFactory::class,
],
],
'media_renderers' => [
'invokables' => [
'Vimeo_media' => Media\Renderer\VimeoMediaRenderer::class,
],
],
'DefaultSettings' => [
'VimeoBlockForm' => [
'title' => '',
'renderSourceLink' => true,
'width' => 100,
2021-07-18 20:58:50 +02:00
'wrapStyle' => 'overflow-y: hidden;display: flex;flex-direction: column;justify-content: center;',
]
]
];