You are here

public function RouteSubscriber::__construct in Open Social 8.8

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_event/modules/social_event_managers/src/EventSubscriber/RouteSubscriber.php \Drupal\social_event_managers\EventSubscriber\RouteSubscriber::__construct()
  2. 8.5 modules/social_features/social_event/modules/social_event_managers/src/EventSubscriber/RouteSubscriber.php \Drupal\social_event_managers\EventSubscriber\RouteSubscriber::__construct()
  3. 8.6 modules/social_features/social_event/modules/social_event_managers/src/EventSubscriber/RouteSubscriber.php \Drupal\social_event_managers\EventSubscriber\RouteSubscriber::__construct()
  4. 8.7 modules/social_features/social_event/modules/social_event_managers/src/EventSubscriber/RouteSubscriber.php \Drupal\social_event_managers\EventSubscriber\RouteSubscriber::__construct()
  5. 10.3.x modules/social_features/social_event/modules/social_event_managers/src/EventSubscriber/RouteSubscriber.php \Drupal\social_event_managers\EventSubscriber\RouteSubscriber::__construct()
  6. 10.0.x modules/social_features/social_event/modules/social_event_managers/src/EventSubscriber/RouteSubscriber.php \Drupal\social_event_managers\EventSubscriber\RouteSubscriber::__construct()
  7. 10.1.x modules/social_features/social_event/modules/social_event_managers/src/EventSubscriber/RouteSubscriber.php \Drupal\social_event_managers\EventSubscriber\RouteSubscriber::__construct()
  8. 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\EventSubscriber

Code

public function __construct(ModuleHandler $module_handler) {
  $this->moduleHandler = $module_handler;
}