ext_tables.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. defined('TYPO3_MODE') || die('Access denied.');
  3. // ext_tables.php contient les directives permettant de configurer le backend
  4. call_user_func(
  5. function()
  6. {
  7. // Include the configuration files
  8. \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile(
  9. 'ot_templating',
  10. 'Configuration/TypoScript',
  11. 'Templating');
  12. if (TYPO3_MODE === 'BE') {
  13. /**
  14. * Registers the customizer backend module
  15. */
  16. \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
  17. 'Opentalent.OtTemplating',
  18. 'web', // Make module a submodule of 'web'
  19. 'ot_customizer', // Submodule key
  20. 'top', // Position
  21. array(
  22. 'OtCustomizer' => 'index',
  23. ),
  24. array(
  25. 'access' => 'user,group',
  26. 'icon' => 'EXT:ot_templating/Resources/Public/Icons/Extension_white.png',
  27. 'labels' => 'LLL:EXT:ot_templating/Resources/Private/Language/locallang_mod.xlf',
  28. )
  29. );
  30. }
  31. }
  32. );