MainContentViewSubscriber::$mainContentRenderers

Same name in other branches
  1. 9 core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php \Drupal\Core\EventSubscriber\MainContentViewSubscriber::mainContentRenderers
  2. 10 core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php \Drupal\Core\EventSubscriber\MainContentViewSubscriber::mainContentRenderers
  3. 11.x core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php \Drupal\Core\EventSubscriber\MainContentViewSubscriber::mainContentRenderers

The available main content renderer services, keyed per format.

Type: array

File

core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php, line 46

Class

MainContentViewSubscriber
View subscriber rendering main content render arrays into responses.

Namespace

Drupal\Core\EventSubscriber

Code

protected $mainContentRenderers;

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