RouteProcessorCurrent::$routeMatch

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/RouteProcessor/RouteProcessorCurrent.php \Drupal\Core\RouteProcessor\RouteProcessorCurrent::routeMatch
  2. 10 core/lib/Drupal/Core/RouteProcessor/RouteProcessorCurrent.php \Drupal\Core\RouteProcessor\RouteProcessorCurrent::routeMatch
  3. 11.x core/lib/Drupal/Core/RouteProcessor/RouteProcessorCurrent.php \Drupal\Core\RouteProcessor\RouteProcessorCurrent::routeMatch

The current route match.

Type: \Drupal\Core\Routing\RouteMatchInterface

File

core/lib/Drupal/Core/RouteProcessor/RouteProcessorCurrent.php, line 19

Class

RouteProcessorCurrent
Provides a route processor to replace <current>.

Namespace

Drupal\Core\RouteProcessor

Code

protected $routeMatch;

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