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' => '',
|
|
|
|
'width' => 600,
|
2021-06-22 11:53:13 +02:00
|
|
|
'ratio' => '2',
|
2021-06-22 10:19:26 +02:00
|
|
|
'wrapStyle' => 'overflow-y: hidden;display: flex;flex-direction: column;justify-content: center;',
|
|
|
|
]
|
|
|
|
]
|
|
|
|
];
|