-
Notifications
You must be signed in to change notification settings - Fork 3
/
ext_tables.php
29 lines (25 loc) · 1.09 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
<?php
defined('TYPO3_MODE') or die('Access denied');
if ('BE' === TYPO3_MODE) {
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['cms_fluid_precompiler_module']['setup'] = unserialize($_EXTCONF);
if ($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['cms_fluid_precompiler_module']['setup']['backendModule'] ?? true) {
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'NamelessCoder.CmsFluidPrecompilerModule',
'tools',
'txfluidprecompilermoduleM1',
'',
array(
'Module' => 'index,compile',
),
array(
'access' => 'user,group',
'icon' => 'EXT:cms_fluid_precompiler_module/Resources/Public/Icons/Extension.svg',
'labels' => 'LLL:EXT:cms_fluid_precompiler_module/Resources/Private/Language/locallang.xlf'
)
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr(
'cms_fluid_precompiler_module',
'EXT:cms_fluid_precompiler_module/Resources/Private/Language/locallang.xlf'
);
}
}