Loading modules/webform_share/src/EventSubscriber/WebformShareEventSubscriber.php +3 −3 Changes for modules/webform_share/src/EventSubscriber/WebformShareEventSubscriber.php: 3 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ namespace Drupal\webform_share\EventSubscriber; use Drupal\Core\Routing\RouteMatchInterface; use Drupal\webform_share\WebformShareHelper; use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Symfony\Component\HttpKernel\Event\FilterResponseEvent; use Symfony\Component\HttpKernel\Event\ResponseEvent; use Symfony\Component\HttpKernel\KernelEvents; /** Loading Loading @@ -33,10 +33,10 @@ class WebformShareEventSubscriber implements EventSubscriberInterface { /** * Remove 'X-Frame-Options' from the response header for shared webforms. * * @param \Symfony\Component\HttpKernel\Event\FilterResponseEvent $event * @param \Symfony\Component\HttpKernel\Event\ResponseEvent $event * The response event. */ public function onResponse(FilterResponseEvent $event) { public function onResponse(ResponseEvent $event) { if (!WebformShareHelper::isPage($this->routeMatch)) { return; } Loading Loading
modules/webform_share/src/EventSubscriber/WebformShareEventSubscriber.php +3 −3 Changes for modules/webform_share/src/EventSubscriber/WebformShareEventSubscriber.php: 3 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ namespace Drupal\webform_share\EventSubscriber; use Drupal\Core\Routing\RouteMatchInterface; use Drupal\webform_share\WebformShareHelper; use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Symfony\Component\HttpKernel\Event\FilterResponseEvent; use Symfony\Component\HttpKernel\Event\ResponseEvent; use Symfony\Component\HttpKernel\KernelEvents; /** Loading Loading @@ -33,10 +33,10 @@ class WebformShareEventSubscriber implements EventSubscriberInterface { /** * Remove 'X-Frame-Options' from the response header for shared webforms. * * @param \Symfony\Component\HttpKernel\Event\FilterResponseEvent $event * @param \Symfony\Component\HttpKernel\Event\ResponseEvent $event * The response event. */ public function onResponse(FilterResponseEvent $event) { public function onResponse(ResponseEvent $event) { if (!WebformShareHelper::isPage($this->routeMatch)) { return; } Loading