You are here

public function AnimationsConfigForm::validateForm in Animations (JS/CSS) 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/AnimationsConfigForm.php, line 143

Class

AnimationsConfigForm

Namespace

Drupal\animations\Form

Code

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

  // TODO: validate the css selectors before saving
}