current_route_match
Same name and namespace in other branches
- 8.9.x core/core.services.yml \current_route_match
- 10 core/core.services.yml \current_route_match
- 11.x core/core.services.yml \current_route_match
Class
Drupal\Core\Routing\CurrentRouteMatch3 string references to current_route_match
- Drupal::routeMatch in core/
lib/ Drupal.php - Retrieves the currently active route match object.
- LocalActionsBlock::create in core/
lib/ Drupal/ Core/ Menu/ Plugin/ Block/ LocalActionsBlock.php - Creates an instance of the plugin.
- LocalTasksBlock::create in core/
lib/ Drupal/ Core/ Menu/ Plugin/ Block/ LocalTasksBlock.php - Creates an instance of the plugin.
File
-
core/
core.services.yml
View source
- class: Drupal\Core\Routing\CurrentRouteMatch
- arguments:
- - '@request_stack'
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.