You are here

public function OpenlayersInteractionFormBase::validateForm in Openlayers 8.4

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/OpenlayersInteractionFormBase.php, line 178

Class

OpenlayersInteractionFormBase
Class OpenlayersInteractionFormBase.

Namespace

Drupal\openlayers\Form

Code

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

  // Add code here to validate your config entity's form elements.
  // Nothing to do here.
}