function openlayers_layer_type_wms::options_form_validate in Openlayers 7.2
Overrides openlayers_layer_type::options_form_validate
File
- plugins/
layer_types/ openlayers_layer_type_wms.inc, line 131 - WMS Layer Type
Class
- openlayers_layer_type_wms
- OpenLayers WMS Layer Type class
Code
function options_form_validate($form, &$form_state) {
$form_state['data']['options']['layers'] = explode("\r\n", $form_state['data']['options']['layers']);
$form_state['data']['base_url'] = explode("\r\n", $form_state['data']['base_url']);
}