You are here

public function TawkToExtraSettingsForm::validateForm in Tawk.to - Live chat application (Drupal 8) 8

Same name and namespace in other branches
  1. 8.2 src/Form/TawkToExtraSettingsForm.php \Drupal\tawk_to\Form\TawkToExtraSettingsForm::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/TawkToExtraSettingsForm.php, line 283

Class

TawkToExtraSettingsForm
Provides form for block instance forms.

Namespace

Drupal\tawk_to\Form

Code

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