You are here

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\csp

Code

public function isReportOnly() {
  return $this->reportOnly;
}