ModuleRouteSubscriber::$moduleHandler
Same name in other branches
- 9 core/lib/Drupal/Core/EventSubscriber/ModuleRouteSubscriber.php \Drupal\Core\EventSubscriber\ModuleRouteSubscriber::moduleHandler
- 8.9.x core/lib/Drupal/Core/EventSubscriber/ModuleRouteSubscriber.php \Drupal\Core\EventSubscriber\ModuleRouteSubscriber::moduleHandler
- 11.x core/lib/Drupal/Core/EventSubscriber/ModuleRouteSubscriber.php \Drupal\Core\EventSubscriber\ModuleRouteSubscriber::moduleHandler
The module handler.
Type: \Drupal\Core\Extension\ModuleHandlerInterface
File
-
core/
lib/ Drupal/ Core/ EventSubscriber/ ModuleRouteSubscriber.php, line 19
Class
- ModuleRouteSubscriber
- A route subscriber to remove routes that depend on modules being enabled.
Namespace
Drupal\Core\EventSubscriberCode
protected $moduleHandler;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.