You are here

constant CspEvents::POLICY_ALTER in Content-Security-Policy 8

Name of event fired to alter CSP policies for the current request.

The event listener receives a \Drupal\csp\Event\PolicyAlterEvent instance.

File

src/CspEvents.php, line 21

Class

CspEvents
Contains all events dispatched by CSP module.

Namespace

Drupal\csp

Code

const POLICY_ALTER = 'csp.policy_alter';