-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
ext_tables.php
29 lines (27 loc) · 955 Bytes
/
ext_tables.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
<?php
defined('TYPO3') or die('Access denied.');
$boot = static function (): void {
/**
* BE module
*/
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'Seminars',
'web',
'events',
'',
[
\OliverKlee\Seminars\Controller\BackEnd\ModuleController::class => 'overview',
\OliverKlee\Seminars\Controller\BackEnd\EventController::class => 'exportCsv',
\OliverKlee\Seminars\Controller\BackEnd\RegistrationController::class
=> 'showForEvent, exportCsvForEvent, exportCsvForPageUid',
\OliverKlee\Seminars\Controller\BackEnd\EmailController::class => 'compose, send',
],
[
'access' => 'user,group',
'icon' => 'EXT:seminars/Resources/Public/Icons/BackEndModule.svg',
'labels' => 'LLL:EXT:seminars/Resources/Private/Language/locallang.xlf',
]
);
};
$boot();
unset($boot);