You are here

public function OpenlayersConfigurablePluginBase::validateConfigurationForm in Openlayers 8.4

Form validation handler.

Parameters

array $form: An associative array containing the structure of the plugin form as built by static::buildConfigurationForm().

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Calling code should pass on a subform state created through \Drupal\Core\Form\SubformState::createForSubform().

Overrides PluginFormInterface::validateConfigurationForm

16 methods override OpenlayersConfigurablePluginBase::validateConfigurationForm()
Attribution::validateConfigurationForm in src/Plugin/OpenlayersControl/Attribution.php
Form validation handler.
DragPan::validateConfigurationForm in src/Plugin/OpenlayersInteraction/DragPan.php
Form validation handler.
DragRotate::validateConfigurationForm in src/Plugin/OpenlayersInteraction/DragRotate.php
Form validation handler.
Fill::validateConfigurationForm in src/Plugin/OpenlayersStyle/Fill.php
Form validation handler.
FullScreen::validateConfigurationForm in src/Plugin/OpenlayersControl/FullScreen.php
Form validation handler.

... See full list

File

src/OpenlayersConfigurablePluginBase.php, line 22

Class

OpenlayersConfigurablePluginBase
Provides a base class for configurable Openlayers plugins.

Namespace

Drupal\openlayers

Code

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