public function Csp::isReportOnly in Content-Security-Policy 8
Retrieve whether this policy is report-only.
Return value
bool The report-only status.
File
- src/
Csp.php, line 232
Class
- Csp
- A CSP Header.
Namespace
Drupal\cspCode
public function isReportOnly() {
return $this->reportOnly;
}