mirror of
https://github.com/werkraum-media/events.git
synced 2025-04-11 17:23:46 +02:00
TYPO3 changed how models are instantiated and prepared. We now adopt the code to still initialize the data processing. Furthermore, the feature is now covered with a test. Relates: #11596
40 lines
890 B
PHP
40 lines
890 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
return [
|
|
'tt_content' => [
|
|
0 => [
|
|
'uid' => '1',
|
|
'pid' => '1',
|
|
'CType' => 'events_dateshowtest',
|
|
'header' => 'Singleview',
|
|
],
|
|
],
|
|
'tx_events_domain_model_event' => [
|
|
0 => [
|
|
'uid' => '1',
|
|
'pid' => '2',
|
|
'title' => 'Title of Event with associated page',
|
|
'hidden' => '0',
|
|
'pages' => '3',
|
|
],
|
|
],
|
|
'tx_events_domain_model_date' => [
|
|
0 => [
|
|
'uid' => '1',
|
|
'pid' => '2',
|
|
'event' => '1',
|
|
'start' => '1676419200',
|
|
'end' => '1676484000',
|
|
],
|
|
],
|
|
'pages' => [
|
|
[
|
|
'uid' => 3,
|
|
'pid' => 1,
|
|
'title' => 'Page 3 Referenced from event',
|
|
'slug' => '/referenced',
|
|
],
|
|
],
|
|
];
|