TermRouteContext::$routeMatch
Same name in other branches
- 9 core/modules/taxonomy/src/ContextProvider/TermRouteContext.php \Drupal\taxonomy\ContextProvider\TermRouteContext::routeMatch
- 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\ContextProviderCode
protected $routeMatch;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.