function openlayers_behavior_navigation::options_form in Openlayers 6.2
Same name and namespace in other branches
- 7.2 plugins/behaviors/openlayers_behavior_navigation.inc \openlayers_behavior_navigation::options_form()
Overrides openlayers_behavior::options_form
File
- includes/
behaviors/ openlayers_behavior_navigation.inc, line 26 - Implementation of OpenLayers behavior.
Class
- openlayers_behavior_navigation
- Navigation Behavior
Code
function options_form($defaults = array()) {
return array(
'zoomWheelEnabled' => array(
'#type' => 'checkbox',
'#title' => t('Enable Zoom Wheel'),
'#description' => t('Enable zooming via the mouse scroll wheel. This can
interfere with page scrolling.'),
'#default_value' => isset($defaults['zoomWheelEnabled']) ? $defaults['zoomWheelEnabled'] : TRUE,
),
);
}