Adds the _admin_route option to each admin route.
Hierarchy
- class \Drupal\Core\Routing\RouteSubscriberBase implements EventSubscriberInterface
- class \Drupal\system\EventSubscriber\AdminRouteSubscriber
File
- core/modules/system/src/EventSubscriber/AdminRouteSubscriber.php, line 12
Namespace
Drupal\system\EventSubscriber
Members
Name | Modifiers | Type | Description |
---|---|---|---|
AdminRouteSubscriber::alterRoutes | protected | function | Alters existing routes for a specific collection. Overrides RouteSubscriberBase::alterRoutes |
AdminRouteSubscriber::getSubscribedEvents | public static | function | Returns an array of event names this subscriber wants to listen to. Overrides RouteSubscriberBase::getSubscribedEvents |
RouteSubscriberBase::onAlterRoutes | public | function | Delegates the route altering to self::alterRoutes(). |
Please login to continue.