[!!!][TASK] Remove ext:cms
[Packages/TYPO3.CMS.git] / typo3 / sysext / frontend / ext_tables.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 // Add allowed records to pages
5 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('pages_language_overlay,tt_content,sys_template,sys_domain,backend_layout');
6
7 if (TYPO3_MODE === 'BE') {
8 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_MOD_web_layout', 'EXT:frontend/Resources/Private/Language/locallang_csh_weblayout.xlf');
9 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_MOD_web_info', 'EXT:frontend/Resources/Private/Language/locallang_csh_webinfo.xlf');
10 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
11 'web_info',
12 \TYPO3\CMS\Frontend\Controller\PageInformationController::class,
13 NULL,
14 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:mod_tx_cms_webinfo_page'
15 );
16 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
17 'web_info',
18 \TYPO3\CMS\Frontend\Controller\TranslationStatusController::class,
19 NULL,
20 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:mod_tx_cms_webinfo_lang'
21 );
22 }