You are here

public function ReportingHandlerInterface::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.

1 method overrides ReportingHandlerInterface::validateForm()
ReportingHandlerBase::validateForm in src/Plugin/ReportingHandlerBase.php
Validate the form fields of this report handler.

File

src/Plugin/ReportingHandlerInterface.php, line 32

Class

ReportingHandlerInterface
CSP Reporting Handler interface.

Namespace

Drupal\csp\Plugin

Code

public function validateForm(array &$form, FormStateInterface $form_state);