SimpleCarousel-omeka-module/config/module.config.php

37 lines
998 B
PHP
Raw Normal View History

2021-05-31 20:28:57 +02:00
<?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' => '',
2021-05-31 20:28:57 +02:00
'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)',
]
]
];