MenuActiveTrail::$routeMatch
Same name in other branches
- 9 core/lib/Drupal/Core/Menu/MenuActiveTrail.php \Drupal\Core\Menu\MenuActiveTrail::routeMatch
- 8.9.x core/lib/Drupal/Core/Menu/MenuActiveTrail.php \Drupal\Core\Menu\MenuActiveTrail::routeMatch
- 10 core/lib/Drupal/Core/Menu/MenuActiveTrail.php \Drupal\Core\Menu\MenuActiveTrail::routeMatch
The route match object for the current page.
Type: \Drupal\Core\Routing\RouteMatchInterface
File
-
core/
lib/ Drupal/ Core/ Menu/ MenuActiveTrail.php, line 30
Class
- MenuActiveTrail
- Provides the default implementation of the active menu trail service.
Namespace
Drupal\Core\MenuCode
protected $routeMatch;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.