-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
ext_tables.php
32 lines (28 loc) · 945 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
30
31
32
<?php
/*
* This file is part of the package evoweb/sessionplaner.
*
* For the full copyright and license information, please read the
* LICENSE file that was distributed with this source code.
*/
defined('TYPO3') or die('Access denied.');
use Evoweb\Sessionplaner\Controller\BackendModuleController;
use TYPO3\CMS\Core\Information\Typo3Version;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Extbase\Utility\ExtensionUtility;
if ((GeneralUtility::makeInstance(Typo3Version::class))->getMajorVersion() < 12) {
ExtensionUtility::registerModule(
'Sessionplaner',
'web',
'sessionplaner_main',
'',
[
BackendModuleController::class => 'show',
],
[
'access' => 'user,group',
'iconIdentifier' => 'sessionplaner-module-show',
'labels' => 'LLL:EXT:sessionplaner/Resources/Private/Language/locallang_mod.xlf',
]
);
}