2021-08-10 13:32:24 +02:00
|
|
|
<?php
|
|
|
|
namespace PDFLink;
|
|
|
|
|
|
|
|
return [
|
|
|
|
'view_manager' => [
|
|
|
|
'template_path_stack' => [
|
|
|
|
dirname(__DIR__) . '/view',
|
|
|
|
]
|
|
|
|
],
|
|
|
|
'block_layouts' => [
|
|
|
|
'factories' => [
|
|
|
|
'pDFLink' => Service\BlockLayout\PDFLinkFactory::class,
|
|
|
|
],
|
|
|
|
],
|
|
|
|
'form_elements' => [
|
|
|
|
'invokables' => [
|
|
|
|
Form\PDFLinkBlockForm::class => Form\PDFLinkBlockForm::class,
|
|
|
|
],
|
|
|
|
],
|
|
|
|
'DefaultSettings' => [
|
|
|
|
'PDFLinkBlockForm' => [
|
2021-08-10 14:34:52 +02:00
|
|
|
'link_name' => '',
|
2021-08-10 13:32:24 +02:00
|
|
|
'renderSourceLink' => true,
|
2021-08-10 14:34:52 +02:00
|
|
|
'description_text' => '',
|
2021-08-10 13:32:24 +02:00
|
|
|
'wrapStyle' => 'overflow-y: hidden;display: flex;flex-direction: column;justify-content: center;',
|
|
|
|
]
|
|
|
|
]
|
|
|
|
];
|