You are here

service main_content_view_subscriber in Drupal 10

Same name and namespace in other branches
  1. 8 core/core.services.yml \main_content_view_subscriber
  2. 9 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 }