You are here

opigno_statistics.services.yml in Opigno statistics 3.x

Same filename and directory in other branches
  1. 8 opigno_statistics.services.yml

File

opigno_statistics.services.yml
View source
  1. services:
  2. opigno_statistics.route_subscriber:
  3. class: Drupal\opigno_statistics\EventSubscriber\RouteSubscriber
  4. tags:
  5. - { name: event_subscriber }
  6. opigno_statistics.user_stats_manager:
  7. class: Drupal\opigno_statistics\Services\UserStatisticsManager
  8. arguments: ['@current_user', '@database', '@entity_type.manager', '@date.formatter', '@csrf_token', '@config.factory', '@module_handler']
  9. # Access check based on the selected social settings.
  10. opigno_statistics.check_achievements_access:
  11. class: Drupal\opigno_statistics\Access\UserAchievementsAccess
  12. calls:
  13. - [setContainer, ['@service_container']]
  14. tags:
  15. - { name: access_check, applies_to: _opigno_access_user_achievements }
  16. opigno_statistics.update:
  17. class: Drupal\opigno_statistics\Commands\StatisticsCommands
  18. tags:
  19. - { name: drush.command }