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