Provides a helper class to determine whether the route is an admin one.
Hierarchy
- class \Drupal\Core\Routing\AdminContext
File
- core/lib/Drupal/Core/Routing/AdminContext.php, line 10
Namespace
Drupal\Core\Routing
Members
Name | Modifiers | Type | Description |
---|---|---|---|
AdminContext::$routeMatch | protected | property | The route match. |
AdminContext::isAdminRoute | public | function | Determines whether the active route is an admin one. |
AdminContext::__construct | public | function | Construct a new admin context helper instance. |
Please login to continue.