Skip to content
Snippets Groups Projects

Drupal 11 compatibility

2 files
+ 2
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -56,7 +56,7 @@ class XframeSubscriber implements EventSubscriberInterface {
/**
* {@inheritdoc}
*/
public static function getSubscribedEvents() {
public static function getSubscribedEvents(): array {
// Adds the event in the list of KernelEvents::RESPONSE with priority -20.
$events[KernelEvents::RESPONSE][] = ['onKernelResponse', -20];
return $events;
Loading