function location_views_handler_filter_proximity::expose_options in Location 7.4
Same name and namespace in other branches
- 7.5 handlers/location_views_handler_filter_proximity.inc \location_views_handler_filter_proximity::expose_options()
- 7.3 handlers/location_views_handler_filter_proximity.inc \location_views_handler_filter_proximity::expose_options()
Provide default options for exposed filters.
Overrides views_handler_filter::expose_options
File
- handlers/
location_views_handler_filter_proximity.inc, line 50
Class
- location_views_handler_filter_proximity
- General proximity filter for location latitude/longitude.
Code
function expose_options() {
parent::expose_options();
$this->options['expose']['gmap_macro'] = array(
'default' => '[gmap ]',
);
$this->options['expose']['user_location_choose'] = array(
'default' => FALSE,
);
}