public function WebformShareRouteSubscriber::__construct in Webform 6.x
Same name and namespace in other branches
- 8.5 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\RoutingCode
public function __construct(ModuleHandlerInterface $module_handler) {
$this->moduleHandler = $module_handler;
}