public function ReportingHandlerBase::getForm in Content-Security-Policy 8
Get the form fields for configuring this reporting handler.
Parameters
array $form: The plugin parent form element.
Return value
array A Form array.
Overrides ReportingHandlerInterface::getForm
2 methods override ReportingHandlerBase::getForm()
- ReportUri::getForm in src/
Plugin/ CspReportingHandler/ ReportUri.php - Get the form fields for configuring this reporting handler.
- Uri::getForm in src/
Plugin/ CspReportingHandler/ Uri.php - Get the form fields for configuring this reporting handler.
File
- src/
Plugin/ ReportingHandlerBase.php, line 53
Class
- ReportingHandlerBase
- Base Reporting Handler implementation.
Namespace
Drupal\csp\PluginCode
public function getForm(array $form) {
return $form;
}