You are here

public function ScannerForm::validateForm in Search and Replace Scanner 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/ScannerForm.php, line 182

Class

ScannerForm
Form for performing searching.

Namespace

Drupal\scanner\Form

Code

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

  // Validation logic here.
}