‪TYPO3CMS  10.4
ext_tables.php
Go to the documentation of this file.
1 <?php
2 
3 defined('TYPO3_MODE') or die();
4 
5 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
6  'web',
7  'info',
8  '',
9  '',
10  [
11  'routeTarget' => \‪TYPO3\CMS\Info\Controller\InfoModuleController::class . '::mainAction',
12  'access' => 'user,group',
13  'name' => 'web_info',
14  'icon' => 'EXT:info/Resources/Public/Icons/module-info.svg',
15  'labels' => 'LLL:EXT:info/Resources/Private/Language/locallang_mod_web_info.xlf'
16  ]
17 );
18 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_MOD_web_info', 'EXT:info/Resources/Private/Language/locallang_csh_web_info.xlf');
19 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_MOD_web_infotsconfig', 'EXT:info/Resources/Private/Language/locallang_csh_tsconfigInfo.xlf');
20 
21 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
22  'web_info',
23  \‪TYPO3\CMS\Info\Controller\PageInformationController::class,
24  '',
25  'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:mod_tx_cms_webinfo_page'
26 );
27 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
28  'web_info',
29  \‪TYPO3\CMS\Info\Controller\TranslationStatusController::class,
30  '',
31  'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:mod_tx_cms_webinfo_lang'
32 );
33 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
34  'web_info',
35  \‪TYPO3\CMS\Info\Controller\InfoPageTyposcriptConfigController::class,
36  '',
37  'LLL:EXT:info/Resources/Private/Language/InfoPageTsConfig.xlf:mod_pagetsconfig'
38 );
‪TYPO3