mirror of
https://github.com/werkraum-media/events.git
synced 2024-11-23 09:56:10 +01:00
Daniel Siepmann
713bc4b697
A new class is added which will add meta tags for dates and events. The class has an interface which allows it to be replaced via DI to alter behaviour. Refactor import regarding data handler. We now also need to add a new column "keywords". We use the new DataHandler approach. But that approach only covered relations so far. We therefore refactor that area to be more generic and use that one for new keywords column. Relates: #10642
19 lines
406 B
PHP
19 lines
406 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use TYPO3\CMS\Extbase\Utility\ExtensionUtility;
|
|
use WerkraumMedia\Events\Controller\DateController;
|
|
use WerkraumMedia\Events\Controller\EventController;
|
|
|
|
ExtensionUtility::configurePlugin(
|
|
'Events',
|
|
'DateListTest',
|
|
[DateController::class => 'list']
|
|
);
|
|
|
|
ExtensionUtility::configurePlugin(
|
|
'Events',
|
|
'EventShow',
|
|
[EventController::class => 'show']
|
|
);
|