function google_map_field_field_info in Google Map Field 7.2
Same name and namespace in other branches
- 7 google_map_field.module \google_map_field_field_info()
Implements hook_field_info().
1 call to google_map_field_field_info()
- google_map_field_get_fields in ./
google_map_field.module - Helper function to return all fields created on the system of the google map field type.
File
- ./
google_map_field.module, line 55 - This file defines all the necessary hooks and functions to create a Google Map Field field type for inserting maps directly into content items (node, entities etc).
Code
function google_map_field_field_info() {
return array(
'google_map_field' => array(
'label' => t('Google Map Field'),
'description' => t('This field stores and renders Google Maps.'),
'default_widget' => 'google_map_field_widget',
'default_formatter' => 'google_map_field_formatter_default',
),
);
}