37 lines
998 B
PHP
37 lines
998 B
PHP
<?php
|
|
namespace SimpleCarousel;
|
|
|
|
return [
|
|
'view_manager' => [
|
|
'template_path_stack' => [
|
|
dirname(__DIR__) . '/view',
|
|
]
|
|
],
|
|
'block_layouts' => [
|
|
'factories' => [
|
|
'carousel' => Service\BlockLayout\CarouselFactory::class,
|
|
],
|
|
],
|
|
'form_elements' => [
|
|
'invokables' => [
|
|
Form\CarouselBlockForm::class => Form\CarouselBlockForm::class,
|
|
],
|
|
],
|
|
'DefaultSettings' => [
|
|
'CarouselBlockForm' => [
|
|
'height' => '500px',
|
|
'duration' => 200,
|
|
'perPage' => 1,
|
|
'loop' => true,
|
|
'draggable' => true,
|
|
'title' => '',
|
|
'renderSourceLink' => true,
|
|
'autoSlide' => false,
|
|
'autoSlideInt' => 5000,
|
|
'wrapStyle' => 'overflow-y: hidden;display: flex;flex-direction: column;justify-content: center;',
|
|
'imgStyle' => '',
|
|
'ui_background' => 'rgba(0,0,0,0.1)',
|
|
]
|
|
]
|
|
];
|