function location_views_country_handler in Location 5
Same name and namespace in other branches
- 5.3 contrib/location_views/location_views.module \location_views_country_handler()
Format a country name
1 string reference to 'location_views_country_handler'
- location_views_tables in contrib/
location_views/ location_views.module - For operation with the views.module.
File
- contrib/
location_views/ location_views.module, line 857 - Views-enables the location module.
Code
function location_views_country_handler($fieldinfo, $fielddata, $value, $data) {
$countries = location_views_countries();
return $countries[$value];
}