2 if (!defined('TYPO3_MODE')) {
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
14 // An array holding the controller-action-combinations that are accessible
15 'Language' => 'index, saveSelectedLocale, updateTranslation'
19 'icon' => 'EXT:' . $_EXTKEY . '/Resources/Public/Images/moduleicon.gif',
20 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod_language.xml',