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

39 lines
989 B
PHP

<?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,
'wrapStyle' => 'overflow-y: hidden;display: flex;flex-direction: column;justify-content: center;',
]
]
];