public function WebformShareEventSubscriber::__construct in Webform 6.x
Same name and namespace in other branches
- 8.5 modules/webform_share/src/EventSubscriber/WebformShareEventSubscriber.php \Drupal\webform_share\EventSubscriber\WebformShareEventSubscriber::__construct()
Constructs a WebformShareEventSubscriber object.
Parameters
\Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match.
File
- modules/
webform_share/ src/ EventSubscriber/ WebformShareEventSubscriber.php, line 29
Class
- WebformShareEventSubscriber
- Event subscriber to allow webform to be shared via an iframe.
Namespace
Drupal\webform_share\EventSubscriberCode
public function __construct(RouteMatchInterface $route_match) {
$this->routeMatch = $route_match;
}