You are here

redirect_404.services.yml in Redirect 8

modules/redirect_404/redirect_404.services.yml

File

modules/redirect_404/redirect_404.services.yml
View source
  1. services:
  2. redirect.404_subscriber:
  3. class: Drupal\redirect_404\EventSubscriber\Redirect404Subscriber
  4. arguments: ['@path.current', '@path.matcher', '@request_stack', '@language_manager', '@redirect.not_found_storage', '@config.factory']
  5. tags:
  6. - { name: event_subscriber }
  7. redirect.not_found_storage:
  8. class: Drupal\redirect_404\SqlRedirectNotFoundStorage
  9. arguments: ['@database', '@config.factory']
  10. tags:
  11. - { name: backend_overridable }
  12. logger.redirect_404:
  13. public: false
  14. class: \Drupal\redirect_404\Render\Redirect404LogSuppressor
  15. decorates: logger.factory
  16. arguments: ['@logger.redirect_404.inner', '@config.factory']