You are here

public function WebformShareRouteSubscriber::__construct in Webform 8.5

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

Constructs a WebformShareRouteSubscriber object.

Parameters

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

File

modules/webform_share/src/Routing/WebformShareRouteSubscriber.php, line 27

Class

WebformShareRouteSubscriber
Remove webform share routes.

Namespace

Drupal\webform_share\Routing

Code

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