You are here

public function DashboardForm::validateForm in Mail Safety 8

Form validation handler.

Parameters

array $form: An associative array containing the structure of the form.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

Overrides FormBase::validateForm

File

src/Form/DashboardForm.php, line 168

Class

DashboardForm
Class DashboardForm.

Namespace

Drupal\mail_safety\Form

Code

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

  // Validate submitted form data.
}