function ip_geoloc_ip_geoloc_context_convert_list in IP Geolocation Views & Maps 8
Same name and namespace in other branches
- 7 plugins/contexts/ip_geoloc.inc \ip_geoloc_ip_geoloc_context_convert_list()
Provide a list of sub-keywords.
This is used to provide keywords from the context for use in a content type, pane, etc.
1 string reference to 'ip_geoloc_ip_geoloc_context_convert_list'
- ip_geoloc.inc in plugins/
contexts/ ip_geoloc.inc
File
- plugins/
contexts/ ip_geoloc.inc, line 37
Code
function ip_geoloc_ip_geoloc_context_convert_list() {
return [
'provider' => t('Provider'),
'ip_address' => t('IP Address'),
'latitude' => t('Latitude'),
'longitude' => t('Longitude'),
'accuracy' => t('Accuracy'),
'formatted_address' => t('Formatted Address'),
'street_number' => t('Street Number'),
'route' => t('Route'),
'locality' => t('Locality'),
'administrative_area_level_1' => t('Administrative Area Level 1'),
'administrative_area_level_2' => t('Administrative Area Level 2'),
'country' => t('Country'),
'country_code' => t('Country Code'),
'postal_code' => t('Postal Code'),
];
}