public function PolicyAlterEvent::getResponse in Content-Security-Policy 8
Retrieve the Response the policy is applied to.
Return value
\Symfony\Component\HttpFoundation\Response The Response the policy is applied to.
File
- src/
Event/ PolicyAlterEvent.php, line 57
Class
- PolicyAlterEvent
- Event for altering a response CSP Policy.
Namespace
Drupal\csp\EventCode
public function getResponse() {
return $this->response;
}