function geolocation_googlemaps_widget_info in Geolocation Field 6
Implementation of hook_widget_info().
Here we indicate that the content module will handle the default value and multiple values for these widgets.
Callbacks can be omitted if default handing is used. They're included here just so this module can be used as an geolocation for custom modules that might do things differently.
File
- modules/
geolocation_googlemaps/ geolocation_googlemaps.module, line 80
Code
function geolocation_googlemaps_widget_info() {
return array(
'geolocation_googlemap' => array(
'label' => t('Google Map'),
'field types' => array(
'geolocation_latlng',
),
),
);
}