Search for getCurrentRouteMatch

  1. Search 7.x for getCurrentRouteMatch
  2. Search 9.5.x for getCurrentRouteMatch
  3. Search 8.9.x for getCurrentRouteMatch
  4. Search 10.3.x for getCurrentRouteMatch
  5. Other projects
Title Object type File name Summary
CurrentRouteMatch::getCurrentRouteMatch function core/lib/Drupal/Core/Routing/CurrentRouteMatch.php Returns the route match for the current request.
StackedRouteMatchInterface::getCurrentRouteMatch function core/lib/Drupal/Core/Routing/StackedRouteMatchInterface.php Gets the current route match.

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