You are here

public static function RemoveXFrameOptionsSubscriber::getSubscribedEvents in LTI Tool Provider 8

Same name and namespace in other branches
  1. 2.x src/EventSubscriber/RemoveXFrameOptionsSubscriber.php \Drupal\lti_tool_provider\EventSubscriber\RemoveXFrameOptionsSubscriber::getSubscribedEvents()

Return value

array|mixed

File

src/EventSubscriber/RemoveXFrameOptionsSubscriber.php, line 33

Class

RemoveXFrameOptionsSubscriber

Namespace

Drupal\lti_tool_provider\EventSubscriber

Code

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