You are here

public static function Ie9CspSubscriber::getSubscribedEvents in Content-Security-Policy 8

File

src/EventSubscriber/Ie9CspSubscriber.php, line 34

Class

Ie9CspSubscriber
Alter CSP policy for IE9 Compatibility.

Namespace

Drupal\csp\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[CspEvents::POLICY_ALTER] = [
    'onCspPolicyAlter',
  ];
  return $events;
}