You are here

function openlayers_layer_form_start_validate in Openlayers 7.3

Layer base config form validation handler.

File

modules/openlayers_ui/src/Plugin/export_ui/OpenlayersLayers.inc, line 105
CTools Export UI plugin definition for layers.

Code

function openlayers_layer_form_start_validate($form, &$form_state) {
  $class = new \Drupal\openlayers_ui\UI\OpenlayersLayers();
  $class
    ->init($form_state['plugin']);
  $class
    ->edit_form_validate($form, $form_state);
}