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' => '',
|
|
|
|
'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;',
|
|
|
|
]
|
|
|
|
]
|
|
|
|
];
|