public function SpinJS::optionsFormSubmit in Openlayers 7.3
Submit callback for the options form.
Parameters
array $form: The form array.
array $form_state: The form_state array by reference.
Overrides Base::optionsFormSubmit
File
- modules/
openlayers_library/ src/ Plugin/ Component/ SpinJS/ SpinJS.php, line 166 - Component: SpinJS. Author: http://fgnass.github.io/spin.js/
Class
- SpinJS
- Class SpinJS.
Namespace
Drupal\openlayers_library\Plugin\Component\SpinJSCode
public function optionsFormSubmit(array $form, array &$form_state) {
$form_state['values']['options']['shadow'] = (bool) $form_state['values']['options']['shadow'];
$form_state['values']['options']['hwaccel'] = (bool) $form_state['values']['options']['hwaccel'];
parent::optionsFormSubmit($form, $form_state);
}