2019-07-18 13:44:19 +02:00
|
|
|
<?php
|
2021-01-07 08:50:43 +01:00
|
|
|
|
2021-01-07 08:47:15 +01:00
|
|
|
defined('TYPO3') || die('Access denied.');
|
2019-07-18 13:44:19 +02:00
|
|
|
|
|
|
|
call_user_func(
|
2021-01-07 08:50:43 +01:00
|
|
|
function () {
|
2019-07-18 13:44:19 +02:00
|
|
|
|
2019-11-11 12:43:50 +01:00
|
|
|
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
|
2021-01-07 08:47:15 +01:00
|
|
|
'Events',
|
2019-11-11 12:43:50 +01:00
|
|
|
'DateSearch',
|
2021-01-07 08:47:15 +01:00
|
|
|
[\Wrm\Events\Controller\DateController::class => 'search'],
|
|
|
|
[\Wrm\Events\Controller\DateController::class => 'search']
|
2019-11-11 12:43:50 +01:00
|
|
|
);
|
|
|
|
|
|
|
|
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
|
2021-01-07 08:47:15 +01:00
|
|
|
'Events',
|
2019-11-11 12:43:50 +01:00
|
|
|
'DateList',
|
2021-01-07 08:47:15 +01:00
|
|
|
[\Wrm\Events\Controller\DateController::class => 'list'],
|
|
|
|
[\Wrm\Events\Controller\DateController::class => 'list']
|
2019-11-11 12:43:50 +01:00
|
|
|
);
|
|
|
|
|
2019-11-13 10:46:21 +01:00
|
|
|
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
|
2021-01-07 08:47:15 +01:00
|
|
|
'Events',
|
2019-11-13 10:46:21 +01:00
|
|
|
'DateShow',
|
2021-01-07 08:47:15 +01:00
|
|
|
[\Wrm\Events\Controller\DateController::class => 'show'],
|
|
|
|
[\Wrm\Events\Controller\DateController::class => 'show']
|
2019-11-13 10:46:21 +01:00
|
|
|
);
|
|
|
|
|
2021-01-12 14:12:58 +01:00
|
|
|
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
|
|
|
|
'Events',
|
|
|
|
'Selected',
|
|
|
|
[\Wrm\Events\Controller\EventController::class => 'list']
|
|
|
|
);
|
|
|
|
|
2019-11-11 12:43:50 +01:00
|
|
|
$iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class);
|
|
|
|
$iconRegistry->registerIcon(
|
|
|
|
'events-plugin',
|
|
|
|
\TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class,
|
2021-02-11 12:05:02 +01:00
|
|
|
['source' => 'EXT:events/Resources/Public/Icons/Extension.svg']
|
2019-11-11 12:43:50 +01:00
|
|
|
);
|
2019-07-18 13:44:19 +02:00
|
|
|
}
|
2021-02-11 13:18:06 +01:00
|
|
|
|
2019-07-18 13:44:19 +02:00
|
|
|
);
|