events/Configuration/Services.yaml
Daniel Siepmann 00946af6ad
Properly handle latitude and longitude during Destination One import (#32)
They sometimes use a different separator.
The code is adjusted to always use same separator and precision.

That will prevent the same location from showing up multiple times due
to different latitude and longitude values.
2023-07-06 12:39:47 +02:00

50 lines
1.4 KiB
YAML

services:
_defaults:
autowire: true
autoconfigure: true
public: false
Wrm\Events\:
resource: '../Classes/*'
Wrm\Events\Command\ImportDestinationDataViaConfigruationCommand:
tags:
- name: 'console.command'
command: 'events:destinationdataimportviaconfiguration'
description: 'Import Destination Data Events'
Wrm\Events\Command\ImportDestinationDataViaAllConfigruationsCommand:
tags:
- name: 'console.command'
command: 'events:destinationdataimportviaallconfigurations'
description: 'Import Destination Data Events from all configurations'
Wrm\Events\Command\RemoveAllCommand:
tags:
- name: 'console.command'
command: 'events:removeAll'
description: 'Remove all event data'
Wrm\Events\Command\RemovePastCommand:
tags:
- name: 'console.command'
command: 'events:removePast'
description: 'Remove past events'
Wrm\Events\Extbase\AddSpecialProperties:
tags:
- name: event.listener
identifier: 'WrmEventsAddSpecialPropertiesToDate'
event: TYPO3\CMS\Extbase\Event\Persistence\AfterObjectThawedEvent
Wrm\Events\Updates\MigrateDuplicateLocations:
public: true
Wrm\Events\Updates\MigrateOldLocations:
public: true
Wrm\Events\Caching\PageCacheTimeout:
tags:
- name: event.listener
event: Wrm\Events\Events\Controller\DateListVariables
method: 'trackDates'