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

29 lines
726 B
PHP

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