Sketchfab-omeka-module/config/module.config.php

39 lines
1.0 KiB
PHP
Raw Permalink Normal View History

2021-06-22 10:19:26 +02:00
<?php
namespace Sketchfab;
return [
'view_manager' => [
'template_path_stack' => [
dirname(__DIR__) . '/view',
]
],
'block_layouts' => [
'factories' => [
'sketchfab' => Service\BlockLayout\SketchfabFactory::class,
],
],
'form_elements' => [
'invokables' => [
Form\SketchfabBlockForm::class => Form\SketchfabBlockForm::class,
],
],
'media_ingesters' => [
'factories' => [
'Sketchfab_media' => Service\Media\Ingester\SketchfabMediaFactory::class,
],
],
'media_renderers' => [
'invokables' => [
'Sketchfab_media' => Media\Renderer\SketchfabMediaRenderer::class,
],
],
'DefaultSettings' => [
'SketchfabBlockForm' => [
'title' => '',
'renderSourceLink' => true,
2021-07-30 20:23:03 +02:00
'width' => 100,
2021-06-22 10:19:26 +02:00
'wrapStyle' => 'overflow-y: hidden;display: flex;flex-direction: column;justify-content: center;',
]
]
];