You are here

opigno_dashboard.services.yml in Opigno dashboard 3.x

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

File

opigno_dashboard.services.yml
View source
  1. services:
  2. opigno_dashboard.block:
  3. class: Drupal\opigno_dashboard\BlockService
  4. arguments: ['@plugin.manager.block', '@renderer', '@current_user', '@config.factory', '@module_handler', '@database']
  5. opigno_dashboard.redirect_on_access_denied:
  6. class: Drupal\opigno_dashboard\EventSubscriber\RedirectOnAccessDeniedSubscriber
  7. arguments: ['@current_user']
  8. tags:
  9. - { name: event_subscriber }
  10. cache_context.url.path.is_current_user_page:
  11. class: Drupal\opigno_dashboard\Cache\Context\IsCurrentUserPageCacheContext
  12. arguments: ['@current_route_match', '@current_user']
  13. tags:
  14. - { name: cache.context }
  15. opigno_dashboard.redirect_after_login:
  16. class: Drupal\opigno_dashboard\RedirectMiddleware
  17. tags:
  18. - { name: http_middleware}