TermRouteContext::$routeMatch

Same name in other branches
  1. 9 core/modules/taxonomy/src/ContextProvider/TermRouteContext.php \Drupal\taxonomy\ContextProvider\TermRouteContext::routeMatch
  2. 11.x core/modules/taxonomy/src/ContextProvider/TermRouteContext.php \Drupal\taxonomy\ContextProvider\TermRouteContext::routeMatch

The route match object.

Type: \Drupal\Core\Routing\RouteMatchInterface

File

core/modules/taxonomy/src/ContextProvider/TermRouteContext.php, line 26

Class

TermRouteContext
Sets the current taxonomy term as a context on taxonomy term routes.

Namespace

Drupal\taxonomy\ContextProvider

Code

protected $routeMatch;

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