ImageViewer-omeka-module/config/module.config.php

30 lines
766 B
PHP
Raw Normal View History

2021-04-17 22:18:36 +02:00
<?php
namespace ImageViewer;
return [
'view_manager' => [
'template_path_stack' => [
dirname(__DIR__) . '/view',
]
],
'block_layouts' => [
'factories' => [
'imageViewer' => Service\BlockLayout\ImageViewerFactory::class,
],
],
'form_elements' => [
'invokables' => [
Form\ImageViewerBlockForm::class => Form\ImageViewerBlockForm::class,
],
],
'DefaultSettings' => [
'ImageViewerBlockForm' => [
'title' => '',
2021-05-31 19:29:45 +02:00
'renderSourceLink' => true,
2021-04-17 22:18:36 +02:00
'width' => 600,
2021-04-19 16:21:37 +02:00
'zoom_type' => '',
2021-04-17 22:18:36 +02:00
'wrapStyle' => 'overflow-y: hidden;display: flex;flex-direction: column;justify-content: center;',
]
]
];