You are here

public function WebformShareEventSubscriber::__construct in Webform 8.5

Same name and namespace in other branches
  1. 6.x 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\EventSubscriber

Code

public function __construct(RouteMatchInterface $route_match) {
  $this->routeMatch = $route_match;
}