Modules.php 811 B

123456789101112131415161718192021222324252627
  1. <?php
  2. use Opentalent\OtStats\Controller\OtStatsController;
  3. /**
  4. * Registers the statistics backend module
  5. */
  6. return [
  7. 'web_OtStatsOtStats' => [
  8. 'parent' => 'web',
  9. 'position' => ['after' => 'web_OtTemplatingOtcustomizer'],
  10. 'access' => 'user,group',
  11. 'icon' => 'EXT:ot_stats/Resources/Public/Icons/pie-chart.png',
  12. 'path' => '/module/web/OtStats',
  13. 'labels' => 'LLL:EXT:ot_stats/Resources/Private/Language/locallang_mod.xlf',
  14. 'extensionName' => 'OtStats',
  15. 'controllerActions' => [
  16. OtStatsController::class => [
  17. 'index',
  18. 'askForActivationConfirmation',
  19. 'askForDeactivationConfirmation',
  20. 'enableStats',
  21. 'disableStats',
  22. ],
  23. ],
  24. ],
  25. ];