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