MainContentViewSubscriber::$classResolver

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

The class resolver service.

Type: \Drupal\Core\DependencyInjection\ClassResolverInterface

File

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

Class

MainContentViewSubscriber
View subscriber rendering main content render arrays into responses.

Namespace

Drupal\Core\EventSubscriber

Code

protected $classResolver;

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