events/Configuration/Services.yaml
2024-10-17 13:28:05 +02:00

58 lines
1.9 KiB
YAML

services:
_defaults:
autowire: true
autoconfigure: true
public: false
WerkraumMedia\Events\:
resource: '../Classes/*'
WerkraumMedia\Events\Command\ImportDestinationDataViaConfigruationCommand:
tags:
- name: 'console.command'
command: 'events:destinationdataimportviaconfiguration'
description: 'Import Destination Data Events'
WerkraumMedia\Events\Command\ImportDestinationDataViaAllConfigruationsCommand:
tags:
- name: 'console.command'
command: 'events:destinationdataimportviaallconfigurations'
description: 'Import Destination Data Events from all configurations'
WerkraumMedia\Events\Command\RemoveAllCommand:
tags:
- name: 'console.command'
command: 'events:removeAll'
description: 'Remove all event data'
WerkraumMedia\Events\Command\RemovePastCommand:
tags:
- name: 'console.command'
command: 'events:removePast'
description: 'Remove past events'
WerkraumMedia\Events\Extbase\AddSpecialProperties:
tags:
- name: event.listener
identifier: 'WerkraumMediaEventsAddSpecialPropertiesToDate'
event: TYPO3\CMS\Extbase\Event\Persistence\AfterObjectThawedEvent
WerkraumMedia\Events\Updates\MigrateDuplicateLocations:
public: true
WerkraumMedia\Events\Updates\MigrateOldLocations:
public: true
WerkraumMedia\Events\Service\DestinationDataImportService\ConfigurationServiceInterface:
alias: 'WerkraumMedia\Events\Service\DestinationDataImportService\ExtbaseConfigurationService'
WerkraumMedia\Events\Caching\PageCacheTimeout:
arguments:
'$runtimeCache': '@cache.runtime'
tags:
- name: event.listener
event: WerkraumMedia\Events\Events\Controller\DateListVariables
method: 'trackDates'
- name: event.listener
event: TYPO3\CMS\Frontend\Event\ModifyCacheLifetimeForPageEvent
method: 'modifyCacheLifetimeForPage'