2021-09-07 11:01:22 +02:00
|
|
|
<?php
|
|
|
|
namespace SmartGallery;
|
|
|
|
|
|
|
|
return [
|
|
|
|
'view_manager' => [
|
|
|
|
'template_path_stack' => [
|
|
|
|
dirname(__DIR__) . '/view',
|
|
|
|
]
|
|
|
|
],
|
|
|
|
'block_layouts' => [
|
|
|
|
'factories' => [
|
|
|
|
'smartGallery' => Service\BlockLayout\SmartGalleryFactory::class,
|
|
|
|
],
|
|
|
|
],
|
|
|
|
'form_elements' => [
|
|
|
|
'invokables' => [
|
|
|
|
Form\SmartGalleryBlockForm::class => Form\SmartGalleryBlockForm::class,
|
|
|
|
],
|
|
|
|
],
|
|
|
|
'DefaultSettings' => [
|
|
|
|
'SmartGalleryBlockForm' => [
|
|
|
|
'title' => '',
|
|
|
|
'renderSourceLink' => true,
|
2021-09-07 11:17:12 +02:00
|
|
|
'width' => 200,
|
2021-09-07 11:01:22 +02:00
|
|
|
'wrapStyle' => 'overflow-y: hidden;display: flex;flex-direction: column;justify-content: center;',
|
|
|
|
]
|
|
|
|
]
|
|
|
|
];
|