39 lines
1.0 KiB
PHP
39 lines
1.0 KiB
PHP
<?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,
|
|
'width' => 100,
|
|
'wrapStyle' => 'overflow-y: hidden;display: flex;flex-direction: column;justify-content: center;',
|
|
]
|
|
]
|
|
];
|