You are here

public function AmswapConfigForm::validateForm in Admin Menu Swap 8

Same name and namespace in other branches
  1. 7.2 src/Form/AmswapConfigForm.php \Drupal\amswap\Form\AmswapConfigForm::validateForm()

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/AmswapConfigForm.php, line 169

Class

AmswapConfigForm
Class AmswapConfigForm.

Namespace

Drupal\amswap\Form

Code

public function validateForm(array &$form, FormStateInterface $form_state) {
  parent::validateForm($form, $form_state);
  $this
    ->checkForDuplicates($form, $form_state);
}