function google_map_field_field_formatter_info in Google Map Field 7
Same name and namespace in other branches
- 7.2 google_map_field.module \google_map_field_field_formatter_info()
Implements hook_field_formatter_info().
File
- ./
google_map_field.module, line 98 - This file defines all the necessary hooks and functions to create a Google Map Field field type and also a WYSIWYG editor plugin for inserting maps directly into filtered content.
Code
function google_map_field_field_formatter_info() {
$formats = array(
'google_map_field_formatter_default' => array(
'label' => t('Map'),
'description' => t('Default display for Google map field.'),
'field types' => array(
'google_map_field',
),
),
'google_map_field_formatter_wkt' => array(
'label' => t('WKT'),
'description' => t('Use WKT format to display the google maps point info'),
'field types' => array(
'google_map_field',
),
),
);
return $formats;
}