public function RouteSubscriber::__construct in Open Social 10.3.x
Same name in this branch
- 10.3.x modules/social_features/social_comment/src/Routing/RouteSubscriber.php \Drupal\social_comment\Routing\RouteSubscriber::__construct()
- 10.3.x modules/social_features/social_event/modules/social_event_managers/src/EventSubscriber/RouteSubscriber.php \Drupal\social_event_managers\EventSubscriber\RouteSubscriber::__construct()
Same name and namespace in other branches
- 8.9 modules/social_features/social_event/modules/social_event_managers/src/EventSubscriber/RouteSubscriber.php \Drupal\social_event_managers\EventSubscriber\RouteSubscriber::__construct()
- 8.5 modules/social_features/social_event/modules/social_event_managers/src/EventSubscriber/RouteSubscriber.php \Drupal\social_event_managers\EventSubscriber\RouteSubscriber::__construct()
- 8.6 modules/social_features/social_event/modules/social_event_managers/src/EventSubscriber/RouteSubscriber.php \Drupal\social_event_managers\EventSubscriber\RouteSubscriber::__construct()
- 8.7 modules/social_features/social_event/modules/social_event_managers/src/EventSubscriber/RouteSubscriber.php \Drupal\social_event_managers\EventSubscriber\RouteSubscriber::__construct()
- 8.8 modules/social_features/social_event/modules/social_event_managers/src/EventSubscriber/RouteSubscriber.php \Drupal\social_event_managers\EventSubscriber\RouteSubscriber::__construct()
- 10.0.x modules/social_features/social_event/modules/social_event_managers/src/EventSubscriber/RouteSubscriber.php \Drupal\social_event_managers\EventSubscriber\RouteSubscriber::__construct()
- 10.1.x modules/social_features/social_event/modules/social_event_managers/src/EventSubscriber/RouteSubscriber.php \Drupal\social_event_managers\EventSubscriber\RouteSubscriber::__construct()
- 10.2.x modules/social_features/social_event/modules/social_event_managers/src/EventSubscriber/RouteSubscriber.php \Drupal\social_event_managers\EventSubscriber\RouteSubscriber::__construct()
Constructs the service with DI.
Parameters
\Drupal\Core\Extension\ModuleHandler $module_handler: The module handler.
File
- modules/
social_features/ social_event/ modules/ social_event_managers/ src/ EventSubscriber/ RouteSubscriber.php, line 28
Class
- RouteSubscriber
- Builds up the routes of event management forms.
Namespace
Drupal\social_event_managers\EventSubscriberCode
public function __construct(ModuleHandler $module_handler) {
$this->moduleHandler = $module_handler;
}