You are here

class None in Content-Security-Policy 8

Null Csp Reporting Handler.

Plugin annotation


@CspReportingHandler(
  id = "none",
  label = @Translation("None"),
  description = @Translation("Reporting is disabled"),
)

Hierarchy

Expanded class hierarchy of None

2 string references to 'None'
csp.schema.yml in config/schema/csp.schema.yml
config/schema/csp.schema.yml
CspSettingsForm::buildForm in src/Form/CspSettingsForm.php
Form constructor.

File

src/Plugin/CspReportingHandler/None.php, line 16

Namespace

Drupal\csp\Plugin\CspReportingHandler
View source
class None extends ReportingHandlerBase {

}

Members

Namesort descending Modifiers Type Description Overrides
ReportingHandlerBase::$configuration protected property The Plugin Configuration.
ReportingHandlerBase::$pluginDefinition protected property The Plugin Definition.
ReportingHandlerBase::$pluginId protected property The Plugin ID.
ReportingHandlerBase::alterPolicy public function Alter the provided policy according to the plugin settings. Overrides ReportingHandlerInterface::alterPolicy 3
ReportingHandlerBase::getForm public function Get the form fields for configuring this reporting handler. Overrides ReportingHandlerInterface::getForm 2
ReportingHandlerBase::validateForm public function Validate the form fields of this report handler. Overrides ReportingHandlerInterface::validateForm 2
ReportingHandlerBase::__construct public function Reporting Handler plugin constructor.