mirror of
https://github.com/werkraum-media/events.git
synced 2024-12-27 04:26:10 +01:00
Daniel Siepmann
c56a10b748
* Set ``alternative`` to the ``description`` if available. * Set ``creator_tool`` to the "destination.one". * Set ``source`` to the URL of the fetched image.
78 lines
2.3 KiB
PHP
78 lines
2.3 KiB
PHP
<?php
|
|
|
|
return [
|
|
'sys_file' => [
|
|
[
|
|
'uid' => 1,
|
|
'pid' => 0,
|
|
'missing' => 0,
|
|
'storage' => 1,
|
|
'type' => \TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE,
|
|
'identifier' => '/staedte/beispielstadt/events/theater-rudolstadt_johannes-gei-er_photo-by-lisa-stern_web_-jpg.jpg',
|
|
'extension' => 'jpg',
|
|
'name' => 'theater-rudolstadt_johannes-gei-er_photo-by-lisa-stern_web_-jpg.jpg',
|
|
],
|
|
[
|
|
'uid' => 2,
|
|
'pid' => 0,
|
|
'missing' => 0,
|
|
'storage' => 1,
|
|
'type' => \TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE,
|
|
'identifier' => '/staedte/beispielstadt/events/tueftlerzeit-sfz-rudolstadt-jpg.jpg',
|
|
'extension' => 'jpg',
|
|
'name' => 'tueftlerzeit-sfz-rudolstadt-jpg.jpg',
|
|
],
|
|
],
|
|
'sys_file_reference' => [
|
|
[
|
|
'uid' => 1,
|
|
'pid' => 2,
|
|
'uid_local' => 1,
|
|
'uid_foreign' => 0,
|
|
'tablenames' => '',
|
|
'fieldname' => '',
|
|
'sorting_foreign' => 0,
|
|
'table_local' => '',
|
|
'title' => null,
|
|
'description' => null,
|
|
'alternative' => null,
|
|
],
|
|
[
|
|
'uid' => 2,
|
|
'pid' => 2,
|
|
'uid_local' => 2,
|
|
'uid_foreign' => 1,
|
|
'tablenames' => 'tx_events_domain_model_event',
|
|
'fieldname' => 'images',
|
|
'sorting_foreign' => 1,
|
|
'table_local' => 'sys_file',
|
|
'title' => null,
|
|
'description' => null,
|
|
'alternative' => null,
|
|
],
|
|
],
|
|
'sys_file_metadata' => [
|
|
[
|
|
'uid' => 1,
|
|
'pid' => 0,
|
|
'file' => 1,
|
|
'title' => 'Theater-Rudolstadt_Johannes-Geißer_photo-by-Lisa-Stern_web_.jpg',
|
|
],
|
|
[
|
|
'uid' => 2,
|
|
'pid' => 0,
|
|
'file' => 2,
|
|
'title' => 'Tueftlerzeit©SFZ-Rudolstadt.jpg',
|
|
],
|
|
],
|
|
'tx_events_domain_model_event' => [
|
|
[
|
|
'uid' => 1,
|
|
'pid' => 2,
|
|
'title' => 'Allerlei Weihnachtliches (Heute mit Johannes Geißer)',
|
|
'global_id' => 'e_100347853',
|
|
'slug' => 'allerlei-weihnachtliches-heute-mit-johannes-geisser',
|
|
'images' => 1,
|
|
],
|
|
],
|
|
];
|