events/Configuration/Services.yaml
Daniel Siepmann 97bcbe2065 Add original date to dates if available
This is not possible via native API.
We therefore use the event to fetch and add the relation.

Relates: #8857
2021-09-07 07:52:29 +02:00

29 lines
724 B
YAML

services:
_defaults:
autowire: true
autoconfigure: true
public: false
Wrm\Events\:
resource: '../Classes/*'
Wrm\Events\Command\DestinationDataImportCommand:
tags:
- name: 'console.command'
command: 'events:destinationdataimport'
Wrm\Events\Command\RemoveAllCommand:
tags:
- name: 'console.command'
command: 'events:removeAll'
Wrm\Events\Command\RemovePastCommand:
tags:
- name: 'console.command'
command: 'events:removePast'
Wrm\Events\Extbase\AddSpecialProperties:
tags:
- name: event.listener
identifier: 'WrmEventsAddSpecialPropertiesToDate'
event: TYPO3\CMS\Extbase\Event\Persistence\AfterObjectThawedEvent