NodeAdminRouteSubscriber

Sets the _admin_route for specific node-related routes.

Hierarchy

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().
doc_Drupal
2016-10-29 09:30:35
Comments
Leave a Comment

Please login to continue.