TYPO3  7.6
tstemplate/ext_tables.php
Go to the documentation of this file.
1 <?php
2 defined('TYPO3_MODE') or die();
3 
4 if (TYPO3_MODE === 'BE') {
5  \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
6  'web',
7  'ts',
8  '',
9  '',
10  array(
11  'routeTarget' => \TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController::class . '::mainAction',
12  'access' => 'admin',
13  'name' => 'web_ts',
14  'labels' => array(
15  'tabs_images' => array(
16  'tab' => 'EXT:tstemplate/Resources/Public/Icons/module-tstemplate.svg',
17  ),
18  'll_ref' => 'LLL:EXT:tstemplate/Resources/Private/Language/locallang_mod.xlf',
19  ),
20  )
21  );
22 
23  \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
24  'web_ts',
25  \TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController::class,
26  null,
27  'LLL:EXT:tstemplate/Resources/Private/Language/locallang.xlf:constantEditor'
28  );
29 
30  \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
31  'web_ts',
32  \TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController::class,
33  null,
34  'LLL:EXT:tstemplate/Resources/Private/Language/locallang.xlf:infoModify'
35  );
36 
37  \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
38  'web_ts',
39  \TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController::class,
40  null,
41  'LLL:EXT:tstemplate/Resources/Private/Language/locallang.xlf:objectBrowser'
42  );
43 
44  \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
45  'web_ts',
46  \TYPO3\CMS\Tstemplate\Controller\TemplateAnalyzerModuleFunctionController::class,
47  null,
48  'LLL:EXT:tstemplate/Resources/Private/Language/locallang.xlf:templateAnalyzer'
49  );
50 }