mirror of
https://github.com/werkraum-media/form_file_collection.git
synced 2024-12-22 19:36:10 +01:00
77 lines
2.4 KiB
PHP
77 lines
2.4 KiB
PHP
|
<?php
|
||
|
|
||
|
return [
|
||
|
'pages' => [
|
||
|
[
|
||
|
'uid' => 3,
|
||
|
'pid' => 1,
|
||
|
'slug' => '/page-3',
|
||
|
'title' => 'Page 3 Custom Template',
|
||
|
],
|
||
|
],
|
||
|
'tt_content' => [
|
||
|
[
|
||
|
'uid' => 3,
|
||
|
'pid' => 3,
|
||
|
'header' => 'Form with custom template',
|
||
|
'header_layout' => '0',
|
||
|
'CType' => 'form_formframework',
|
||
|
'pi_flexform' => '<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||
|
<T3FlexForms>
|
||
|
<data>
|
||
|
<sheet index="sDEF">
|
||
|
<language index="lDEF">
|
||
|
<field index="settings.persistenceIdentifier">
|
||
|
<value index="vDEF">EXT:form_file_collection_example/Configuration/Forms/ExampleCustomTemplate.form.yaml</value>
|
||
|
</field>
|
||
|
<field index="settings.overrideFinishers">
|
||
|
<value index="vDEF">0</value>
|
||
|
</field>
|
||
|
</language>
|
||
|
</sheet>
|
||
|
</data>
|
||
|
</T3FlexForms>
|
||
|
',
|
||
|
],
|
||
|
],
|
||
|
'sys_file' => [
|
||
|
[
|
||
|
'uid' => 1,
|
||
|
'pid' => 0,
|
||
|
'missing' => 0,
|
||
|
'storage' => 1,
|
||
|
'type' => 2,
|
||
|
'metadata' => 0,
|
||
|
'identifier' => '/Files/FirstResult.png',
|
||
|
'identifier_hash' => '29b827d0daa29658d8a0d952dfd20f559bbe3bcf',
|
||
|
'folder_hash' => '86d12d536195df2100a5ec04ab80c08f9bed3d31',
|
||
|
'extension' => 'png',
|
||
|
'mime_type' => 'image/png',
|
||
|
'name' => 'FirstResult.png',
|
||
|
'sha1' => 'b13f2bbf275d592534eab659c1430c2702ce31fc',
|
||
|
'size' => '42383',
|
||
|
],
|
||
|
],
|
||
|
'sys_file_collection' => [
|
||
|
[
|
||
|
'uid' => 1,
|
||
|
'pid' => 1,
|
||
|
'title' => 'Example Collection for form',
|
||
|
'files' => 1,
|
||
|
],
|
||
|
],
|
||
|
'sys_file_reference' => [
|
||
|
[
|
||
|
'uid' => 1,
|
||
|
'pid' => 1,
|
||
|
'uid_local' => 1,
|
||
|
'uid_foreign' => 1,
|
||
|
'tablenames' => 'sys_file_collection',
|
||
|
'fieldname' => 'files',
|
||
|
'sorting_foreign' => 1,
|
||
|
'title' => 'Example title for form',
|
||
|
'alternative' => 'Alternative',
|
||
|
],
|
||
|
],
|
||
|
];
|