function openlayers_style_form_options_validate in Openlayers 7.3
Style options config form validation handler.
File
- modules/
openlayers_ui/ src/ Plugin/ export_ui/ OpenlayersStyles.inc, line 142 - CTools Export UI plugin definition for styles.
Code
function openlayers_style_form_options_validate($form, &$form_state) {
if (($style = \Drupal\openlayers\Openlayers::load('Style', $form_state['item'])) == TRUE) {
$style
->optionsFormValidate($form, $form_state);
}
}