[!!!][TASK] Move EXT:info_pagetsconfig into EXT:info
[Packages/TYPO3.CMS.git] / typo3 / sysext / info / ext_tables.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 if (TYPO3_MODE === 'BE') {
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 null,
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 null,
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 null,
37 'LLL:EXT:info/Resources/Private/Language/InfoPageTsConfig.xlf:mod_pagetsconfig'
38 );
39 }