ext_tables.php 1.0 KB

1234567891011121314151617181920212223242526272829
  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. if (TYPO3_MODE === 'BE') {
  8. /**
  9. * Registers the statistics backend module
  10. */
  11. \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
  12. 'Opentalent.OtStats',
  13. 'web', // Make module a submodule of 'web'
  14. 'otstats', // Submodule key
  15. 'after:OtTemplatingOtcustomizer', // Position
  16. array(
  17. 'OtStats' => 'index,askForActivationConfirmation,askForDeactivationConfirmation,enableStats,disableStats'
  18. ),
  19. array(
  20. 'access' => 'user,group',
  21. 'icon' => 'EXT:ot_stats/Resources/Public/Icons/pie-chart.png',
  22. 'labels' => 'LLL:EXT:ot_stats/Resources/Private/Language/locallang_mod.xlf',
  23. )
  24. );
  25. }
  26. }
  27. );