ModuleRouteSubscriber

A route subscriber to remove routes that depend on modules being enabled.

Hierarchy

File

core/lib/Drupal/Core/EventSubscriber/ModuleRouteSubscriber.php, line 12

Namespace

Drupal\Core\EventSubscriber

Members

Name Modifiers Type Description
ModuleRouteSubscriber::$moduleHandler protected property The module handler.
ModuleRouteSubscriber::alterRoutes protected function Alters existing routes for a specific collection. Overrides RouteSubscriberBase::alterRoutes
ModuleRouteSubscriber::explodeString protected function Explodes a string based on a separator.
ModuleRouteSubscriber::__construct public function Constructs a ModuleRouteSubscriber object.
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:29:27
Comments
Leave a Comment

Please login to continue.