TYPO3 CMS  TYPO3_7-6
ext_tables.php
Go to the documentation of this file.
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');
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  );
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 }
if(!defined("DB_ERROR")) define("DB_ERROR"
static insertModuleFunction($modname, $className, $classPath=null, $title, $MM_key='function', $WS='')