You are here

redirect.services.yml in Redirect 8

File

redirect.services.yml
View source
  1. parameters:
  2. route_normalizer_enabled: true
  3. services:
  4. redirect.repository:
  5. class: Drupal\redirect\RedirectRepository
  6. arguments: ['@entity_type.manager', '@database', '@config.factory']
  7. tags:
  8. - { name: backend_overridable }
  9. redirect.checker:
  10. class: Drupal\redirect\RedirectChecker
  11. arguments: ['@config.factory', '@state', '@access_manager', '@current_user', '@router.route_provider']
  12. redirect.request_subscriber:
  13. class: Drupal\redirect\EventSubscriber\RedirectRequestSubscriber
  14. arguments: ['@redirect.repository', '@language_manager', '@config.factory', '@path_alias.manager', '@module_handler', '@entity_type.manager', '@redirect.checker', '@router.request_context', '@path_processor_manager']
  15. tags:
  16. - { name: event_subscriber }
  17. redirect.settings_cache_tag:
  18. class: Drupal\redirect\EventSubscriber\RedirectSettingsCacheTag
  19. arguments: ['@cache_tags.invalidator']
  20. tags:
  21. - { name: event_subscriber }
  22. redirect.route_normalizer_request_subscriber:
  23. class: Drupal\redirect\EventSubscriber\RouteNormalizerRequestSubscriber
  24. arguments: ['@url_generator', '@path.matcher', '@config.factory', '@redirect.checker']
  25. tags:
  26. - { name: event_subscriber }
  27. redirect.route_subscriber:
  28. class: Drupal\redirect\Routing\RouteSubscriber
  29. tags:
  30. - { name: event_subscriber }