You are here

service main_content_view_subscriber in Drupal 9

Same name and namespace in other branches
  1. 8 core/core.services.yml \main_content_view_subscriber
  2. 10 core/core.services.yml \main_content_view_subscriber

Class

Drupal\Core\EventSubscriber\MainContentViewSubscriber

Tags

  • event_subscriber

File

core/core.services.yml
core/core.services.yml

View source
  1. class: Drupal\Core\EventSubscriber\MainContentViewSubscriber
  2. arguments:
  3. - '@class_resolver'
  4. - '@current_route_match'
  5. - '%main_content_renderers%'
  6. tags:
  7. - { name: event_subscriber }