You are here

function openlayers_map_form_start_validate in Openlayers 7.3

Map base config form validation handler.

File

modules/openlayers_ui/src/Plugin/export_ui/OpenlayersMaps.inc, line 99
CTools Export UI plugin definition for maps.

Code

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