Data and API for countries, languages and currencies for use in TYPO3 CMS.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

34 lines
1.4 KiB

<?php
defined('TYPO3_MODE') or die();
if (TYPO3_MODE == 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
/**
* Registers the Static Info Tables Manager backend module, if enabled
*/
if ($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['static_info_tables']['enableManager']) {
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'SJBR.static_info_tables',
// Make module a submodule of 'tools'
'tools',
// Submodule key
'Manager',
// Position
'',
// An array holding the controller-action combinations that are accessible
[
'Manager' => 'information,newLanguagePack,createLanguagePack,testForm,testFormResult,sqlDumpNonLocalizedData',
],
[
'access' => 'user,group',
'icon' => 'EXT:static_info_tables/Resources/Public/Icons/Extension.svg',
'labels' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_mod.xlf',
]
);
// Add module configuration setup
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript(
'static_info_tables',
'setup',
'<INCLUDE_TYPOSCRIPT: source="FILE:EXT:static_info_tables/Configuration/TypoScript/Manager/setup.txt">'
);
}
}