3D-Renderer-omeka-module/config/module.config.php

33 lines
866 B
PHP
Raw Normal View History

2021-04-04 17:47:14 +02:00
<?php
namespace Render3D;
return [
'view_manager' => [
'template_path_stack' => [
dirname(__DIR__) . '/view',
]
],
'block_layouts' => [
'factories' => [
'render3D' => Service\BlockLayout\Render3DFactory::class,
],
],
'form_elements' => [
'invokables' => [
Form\Render3DBlockForm::class => Form\Render3DBlockForm::class,
],
],
'DefaultSettings' => [
'Render3DBlockForm' => [
'model_type' => 'gltf',
'title' => '',
2021-05-31 20:09:46 +02:00
'renderSourceLink' => true,
2021-10-06 12:43:24 +02:00
//'addPreLoadImage' => true,
2021-04-04 17:47:14 +02:00
'width' => 600,
2021-10-06 13:13:35 +02:00
'ratio' => '1.333',
2021-04-04 17:47:14 +02:00
'wrapStyle' => 'overflow-y: hidden;display: flex;flex-direction: column;justify-content: center;',
'ui_background' => 'rgba(0,0,0,0.1)',
]
]
];