-
Notifications
You must be signed in to change notification settings - Fork 17
/
ext_tables.php
32 lines (28 loc) · 960 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
if (!defined('TYPO3_MODE')) {
die ('Access denied.');
}
if (!(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
(function() {
if ('BE' === TYPO3_MODE) {
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'FluidTYPO3.Builder',
'tools',
'txbuilderM1',
'',
[
'Backend' => 'index,syntax,build,buildForm',
],
[
'access' => 'user,group',
'icon' => 'EXT:builder/Resources/Public/Icons/module_builder.png',
'labels' => 'LLL:EXT:builder/Resources/Private/Language/locallang.xlf'
]
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr(
'builder',
'EXT:builder/Resources/Private/Language/locallang.xlf'
);
}
})();
}