You are here

public static function WebformShareEventSubscriber::getSubscribedEvents in Webform 6.x

Same name and namespace in other branches
  1. 8.5 modules/webform_share/src/EventSubscriber/WebformShareEventSubscriber.php \Drupal\webform_share\EventSubscriber\WebformShareEventSubscriber::getSubscribedEvents()

File

modules/webform_share/src/EventSubscriber/WebformShareEventSubscriber.php, line 51

Class

WebformShareEventSubscriber
Event subscriber to allow webform to be shared via an iframe.

Namespace

Drupal\webform_share\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[KernelEvents::RESPONSE] = [
    'onResponse',
  ];
  return $events;
}