[FEATURE] Refactor TCA handling
[Packages/TYPO3.CMS.git] / typo3 / sysext / lang / ext_tables.php
1 <?php
2 if (!defined('TYPO3_MODE')) {
3 die('Access denied.');
4 }
5
6 if (TYPO3_MODE == 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
7 // Registers a Backend Module
8 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
9 'TYPO3.CMS.' . $_EXTKEY,
10 'tools', // Make module a submodule of 'tools'
11 'language', // Submodule key
12 'after:extensionmanager', // Position
13 array(
14 // An array holding the controller-action-combinations that are accessible
15 'Language' => 'index, updateLanguageSelection, updateTranslation'
16 ),
17 array(
18 'access' => 'admin',
19 'icon' => 'EXT:' . $_EXTKEY . '/ext_icon.gif',
20 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod_language.xml',
21 )
22 );
23 }
24
25 ?>