main_content_view_subscriber

Same name in other branches
  1. 8.9.x 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

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 }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.