You are here

public function WebformCardsRouteSubscriber::__construct in Webform 8.5

Same name and namespace in other branches
  1. 6.x modules/webform_cards/src/Routing/WebformCardsRouteSubscriber.php \Drupal\webform_cards\Routing\WebformCardsRouteSubscriber::__construct()

Constructs a WebformCardsRouteSubscriber object.

Parameters

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

File

modules/webform_cards/src/Routing/WebformCardsRouteSubscriber.php, line 27

Class

WebformCardsRouteSubscriber
Remove webform cards routes.

Namespace

Drupal\webform_cards\Routing

Code

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