function openlayers_behavior_permalink::options_form in Openlayers 7.2
Same name and namespace in other branches
- 6.2 includes/behaviors/openlayers_behavior_permalink.inc \openlayers_behavior_permalink::options_form()
Overrides openlayers_behavior::options_form
File
- plugins/
behaviors/ openlayers_behavior_permalink.inc, line 24 - Implementation of OpenLayers behavior.
Class
- openlayers_behavior_permalink
- PermaLink Behavior
Code
function options_form($defaults = array()) {
return array(
'anchor' => array(
'#type' => 'checkbox',
'#title' => t('Anchor'),
'#description' => t('Permalink is in the form of an anchor (#) instead of a query (?). Also, this means that the URL location will be constantly updated, and no link will appear.'),
'#default_value' => isset($defaults['anchor']) ? $defaults['anchor'] : FALSE,
),
);
}