MainContentViewSubscriber::$routeMatch

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php \Drupal\Core\EventSubscriber\MainContentViewSubscriber::routeMatch
  2. 8.9.x core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php \Drupal\Core\EventSubscriber\MainContentViewSubscriber::routeMatch
  3. 10 core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php \Drupal\Core\EventSubscriber\MainContentViewSubscriber::routeMatch

The current route match.

Type: \Drupal\Core\Routing\RouteMatchInterface

File

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

Class

MainContentViewSubscriber
View subscriber rendering main content render arrays into responses.

Namespace

Drupal\Core\EventSubscriber

Code

protected $routeMatch;

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