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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.