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