| 12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- defined('TYPO3_MODE') || die('Access denied.');
- // ext_tables.php contient les directives permettant de configurer le backend
- call_user_func(
- function()
- {
- // Include the configuration files
- \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile(
- 'ot_templating',
- 'Configuration/TypoScript',
- 'Templating');
- if (TYPO3_MODE === 'BE') {
- /**
- * Registers the customizer backend module
- */
- \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
- 'Opentalent.OtTemplating',
- 'web', // Make module a submodule of 'web'
- 'ot_customizer', // Submodule key
- 'top', // Position
- array(
- 'OtCustomizer' => 'index',
- ),
- array(
- 'access' => 'user,group',
- 'icon' => 'EXT:ot_templating/Resources/Public/Icons/Extension_white.png',
- 'labels' => 'LLL:EXT:ot_templating/Resources/Private/Language/locallang_mod.xlf',
- )
- );
- }
- }
- );
|