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
- class \Drupal\csp\Plugin\ReportingHandlerBase implements ReportingHandlerInterface
- class \Drupal\csp\Plugin\CspReportingHandler\None
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\CspReportingHandlerView source
class None extends ReportingHandlerBase {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ReportingHandlerBase:: |
protected | property | The Plugin Configuration. | |
ReportingHandlerBase:: |
protected | property | The Plugin Definition. | |
ReportingHandlerBase:: |
protected | property | The Plugin ID. | |
ReportingHandlerBase:: |
public | function |
Alter the provided policy according to the plugin settings. Overrides ReportingHandlerInterface:: |
3 |
ReportingHandlerBase:: |
public | function |
Get the form fields for configuring this reporting handler. Overrides ReportingHandlerInterface:: |
2 |
ReportingHandlerBase:: |
public | function |
Validate the form fields of this report handler. Overrides ReportingHandlerInterface:: |
2 |
ReportingHandlerBase:: |
public | function | Reporting Handler plugin constructor. |