function geolocation_googlemaps_field_formatter_info in Geolocation Field 6
Same name and namespace in other branches
- 7 modules/geolocation_googlemaps/geolocation_googlemaps.module \geolocation_googlemaps_field_formatter_info()
Implementation of hook_field_formatter_info().
All fields should have a 'default' formatter. Any number of other formatters can be defined as well. It's nice for there always to be a 'plain' option for the raw value, but that is not required.
File
- modules/
geolocation_googlemaps/ geolocation_googlemaps.module, line 28
Code
function geolocation_googlemaps_field_formatter_info() {
return array(
'googlemaps_static' => array(
'label' => t('Static Google Map'),
'field types' => array(
'geolocation_latlng',
),
),
);
}