function openlayers_map_form_settings_validate in Openlayers 7.3
Map settings config form validation handler.
File
- modules/
openlayers_ui/ src/ Plugin/ export_ui/ OpenlayersMaps.inc, line 132 - CTools Export UI plugin definition for maps.
Code
function openlayers_map_form_settings_validate($form, &$form_state) {
$map = \Drupal\openlayers\Openlayers::load('map', $form_state['item']);
$map
->optionsFormValidate($form, $form_state);
}