-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathext_tables.php
28 lines (23 loc) · 862 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
<?php
defined('TYPO3_MODE') || die('Access denied.');
call_user_func(
function()
{
if (TYPO3_MODE === 'BE') {
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'Mohsin.MqkLocallangtools',
'web', // Make module a submodule of 'web'
'tolocallang', // Submodule key
'', // Position
[
\Mohsin\MqkLocallangtools\Controller\MainController::class => 'index, list, replace',
],
[
'access' => 'admin',
'icon' => 'EXT:mqk_locallangtools/Resources/Public/Icons/user_mod_tolocallang.svg',
'labels' => 'LLL:EXT:mqk_locallangtools/Resources/Private/Language/locallang_tolocallang.xlf',
]
);
}
}
);