public function ReportingHandlerBase::validateForm in Content-Security-Policy 8
Validate the form fields of this report handler.
Parameters
array $form: The form fields for this plugin.
\Drupal\Core\Form\FormStateInterface $form_state: The submitted form state.
Overrides ReportingHandlerInterface::validateForm
2 methods override ReportingHandlerBase::validateForm()
- ReportUri::validateForm in src/
Plugin/ CspReportingHandler/ ReportUri.php - Validate the form fields of this report handler.
- Uri::validateForm in src/
Plugin/ CspReportingHandler/ Uri.php - Validate the form fields of this report handler.
File
- src/
Plugin/ ReportingHandlerBase.php, line 60
Class
- ReportingHandlerBase
- Base Reporting Handler implementation.
Namespace
Drupal\csp\PluginCode
public function validateForm(array &$form, FormStateInterface $form_state) {
}