AdminContext::$routeMatch

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Routing/AdminContext.php \Drupal\Core\Routing\AdminContext::routeMatch
  2. 10 core/lib/Drupal/Core/Routing/AdminContext.php \Drupal\Core\Routing\AdminContext::routeMatch
  3. 11.x core/lib/Drupal/Core/Routing/AdminContext.php \Drupal\Core\Routing\AdminContext::routeMatch

The route match.

Type: \Drupal\Core\Routing\RouteMatchInterface

File

core/lib/Drupal/Core/Routing/AdminContext.php, line 17

Class

AdminContext
Provides a helper class to determine whether the route is an admin one.

Namespace

Drupal\Core\Routing

Code

protected $routeMatch;

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