AdminRouteSubscriber

Adds the _admin_route option to each admin route.

Hierarchy

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().
doc_Drupal
2016-10-29 08:43:45
Comments
Leave a Comment

Please login to continue.