-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathext_localconf.php
33 lines (29 loc) · 1.29 KB
/
ext_localconf.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
if (!defined('TYPO3')) {
die('Access denied.');
}
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'GbEvents',
'Main',
[
\GuteBotschafter\GbEvents\Controller\EventController::class => 'list, show',
\GuteBotschafter\GbEvents\Controller\ArchiveController::class => 'list',
\GuteBotschafter\GbEvents\Controller\CalendarController::class => 'show',
\GuteBotschafter\GbEvents\Controller\ExportController::class => 'list, show',
]
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'GbEvents',
'Upcoming',
[
\GuteBotschafter\GbEvents\Controller\UpcomingController::class => 'list',
]
);
// ke_search indexer
if (\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('ke_search')) {
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['ke_search']['registerIndexerConfiguration'][] =
'EXT:gb_events/Classes/Hooks/EventIndexer.php:' . \GuteBotschafter\GbEvents\Hooks\EventIndexer::class;
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['ke_search']['customIndexer'][] =
\GuteBotschafter\GbEvents\Hooks\EventIndexer::class;
}
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update'][\GuteBotschafter\GbEvents\Update\EventsSlugUpdater::class] = \GuteBotschafter\GbEvents\Update\EventsSlugUpdater::class;