function location_views_proximity_form in Location 5
Same name and namespace in other branches
- 5.3 contrib/location_views/location_views.module \location_views_proximity_form()
Proximity handling functions
at the moment, everything is set up to assume the unit is miles need to find a way to provide an alternative for km not sure yet how to add another selector into the mix so user can select units
1 call to location_views_proximity_form()
- location_views_tables in contrib/
location_views/ location_views.module - For operation with the views.module.
File
- contrib/
location_views/ location_views.module, line 933 - Views-enables the location module.
Code
function location_views_proximity_form() {
return array(
'#title' => t('from Postal Code'),
'#type' => 'textfield',
'#size' => 15,
);
}