-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
ext_tables.php
35 lines (31 loc) · 1.07 KB
/
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
30
31
32
33
34
35
<?php
use OliverKlee\Seminars\Controller\BackEnd\EmailController;
use OliverKlee\Seminars\Controller\BackEnd\EventController;
use OliverKlee\Seminars\Controller\BackEnd\ModuleController;
use OliverKlee\Seminars\Controller\BackEnd\RegistrationController;
use TYPO3\CMS\Extbase\Utility\ExtensionUtility;
defined('TYPO3') or die('Access denied.');
$boot = static function (): void {
/**
* BE module
*/
ExtensionUtility::registerModule(
'Seminars',
'web',
'events',
'',
[
ModuleController::class => 'overview',
EventController::class => 'hide, unhide, delete, search, duplicate',
RegistrationController::class => 'showForEvent, exportCsvForEvent, exportCsvForPageUid, delete',
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);