-
Notifications
You must be signed in to change notification settings - Fork 2
/
ext_tables.php
32 lines (28 loc) · 1.02 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
<?php
if (!defined('TYPO3')) {
exit('Access denied.');
}
if (\Sys25\RnBase\Configuration\Processor::getExtensionCfgValue('t3users', 'activateBeModule')) {
\Sys25\RnBase\Utility\Extensions::registerModule(
't3users',
'web',
'backend',
'bottom',
[],
[
'access' => 'user,group',
'routeTarget' => 'tx_t3users_mod_Module',
'icon' => 'EXT:t3users/Resources/Public/Icons/moduleicon.png',
'labels' => 'LLL:EXT:t3users/Resources/Private/Language/BackendModule/locallang_mod.xlf',
]
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
'web_T3usersBackend',
'tx_t3users_mod_FeUser',
'',
'LLL:EXT:t3users/Resources/Private/Language/BackendModule/locallang.xlf:tx_t3users_module_name'
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig(
'<INCLUDE_TYPOSCRIPT: source="FILE:EXT:t3users/Configuration/TSconfig/BackendModule.tsconfig">'
);
}