You are here

public function ContainerForm::validateForm in GoogleTagManager 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/ContainerForm.php, line 237

Class

ContainerForm
Defines the Google tag manager container settings form.

Namespace

Drupal\google_tag\Form

Code

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