[!!!][TASK] Make TimeTracker a singleton
[Packages/TYPO3.CMS.git] / typo3 / sysext / frontend / ext_tables.php
index bb7b47f..20af1f8 100644 (file)
@@ -3,3 +3,20 @@ defined('TYPO3_MODE') or die();
 
 // Add allowed records to pages
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('pages_language_overlay,tt_content,sys_template,sys_domain,backend_layout');
+
+if (TYPO3_MODE === 'BE') {
+    \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_MOD_web_layout', 'EXT:frontend/Resources/Private/Language/locallang_csh_weblayout.xlf');
+    \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_MOD_web_info', 'EXT:frontend/Resources/Private/Language/locallang_csh_webinfo.xlf');
+    \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
+        'web_info',
+        \TYPO3\CMS\Frontend\Controller\PageInformationController::class,
+        null,
+        'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:mod_tx_cms_webinfo_page'
+    );
+    \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
+        'web_info',
+        \TYPO3\CMS\Frontend\Controller\TranslationStatusController::class,
+        null,
+        'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:mod_tx_cms_webinfo_lang'
+    );
+}