'search'], [DateController::class => 'search'] ); ExtensionUtility::configurePlugin( 'Events', 'DateList', [DateController::class => 'list'], [DateController::class => 'list'] ); ExtensionUtility::configurePlugin( 'Events', 'DateShow', [DateController::class => 'show'], [DateController::class => 'show'] ); ExtensionUtility::configurePlugin( 'Events', 'Selected', [EventController::class => 'list'] ); if ( isset($GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['events_category']) === false || is_array($GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['events_category']) === false ) { $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['events_category'] = []; } $GLOBALS['TYPO3_CONF_VARS']['FE']['cacheHash']['excludedParameters'][] = '^events_search'; $iconRegistry = GeneralUtility::makeInstance(IconRegistry::class); $iconRegistry->registerIcon( 'events-plugin', SvgIconProvider::class, ['source' => 'EXT:events/Resources/Public/Icons/Extension.svg'] ); $iconRegistry->registerIcon( 'pages-module-events', SvgIconProvider::class, ['source' => 'EXT:events/Resources/Public/Icons/Folder.svg'] ); });