Sets the _admin_route for specific node-related routes.
Hierarchy
- class \Drupal\Core\Routing\RouteSubscriberBase implements EventSubscriberInterface
- class \Drupal\node\EventSubscriber\NodeAdminRouteSubscriber
File
- core/modules/node/src/EventSubscriber/NodeAdminRouteSubscriber.php, line 12
Namespace
Drupal\node\EventSubscriber
Members
Name | Modifiers | Type | Description |
---|---|---|---|
NodeAdminRouteSubscriber::$configFactory | protected | property | The config factory. |
NodeAdminRouteSubscriber::alterRoutes | protected | function | Alters existing routes for a specific collection. Overrides RouteSubscriberBase::alterRoutes |
NodeAdminRouteSubscriber::__construct | public | function | Constructs a new NodeAdminRouteSubscriber. |
RouteSubscriberBase::getSubscribedEvents | public static | function | Returns an array of event names this subscriber wants to listen to. Overrides EventSubscriberInterface::getSubscribedEvents |
RouteSubscriberBase::onAlterRoutes | public | function | Delegates the route altering to self::alterRoutes(). |
Please login to continue.