public static function RemoveXFrameOptionsSubscriber::getSubscribedEvents in Allow site iframing 3.0.x
Same name and namespace in other branches
- 8 src/EventSubscriber/RemoveXFrameOptionsSubscriber.php \Drupal\allow_iframed_site\EventSubscriber\RemoveXFrameOptionsSubscriber::getSubscribedEvents()
File
- src/
EventSubscriber/ RemoveXFrameOptionsSubscriber.php, line 90
Class
- RemoveXFrameOptionsSubscriber
- An event subscriber to remove the X-Frame-Options header.
Namespace
Drupal\allow_iframed_site\EventSubscriberCode
public static function getSubscribedEvents() {
$events[KernelEvents::RESPONSE][] = [
'RemoveXFrameOptions',
-10,
];
return $events;
}