function getlocations_mapquest_field_formatter_info in Get Locations 7
Same name and namespace in other branches
- 7.2 modules/getlocations_mapquest/getlocations_mapquest.module \getlocations_mapquest_field_formatter_info()
Implements hook_field_formatter_info().
Declare information about a formatter.
Return value
An array keyed by formatter name. Each element of the array is an associative array with these keys and values:
- "label": The human-readable label for the formatter.
- "field types": An array of field type names that can be displayed using this formatter.
File
- modules/
getlocations_mapquest/ getlocations_mapquest.module, line 152 - getlocations_mapquest.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL
Code
function getlocations_mapquest_field_formatter_info() {
$formatters = array(
'getlocations_mapquest_map' => array(
'label' => t('Getlocations Mapquest Map Field'),
'field types' => array(
'getlocations_mapquest',
),
'settings' => getlocations_mapquest_map_formatter_defaults(),
),
'getlocations_mapquest_link' => array(
'label' => t('Getlocations Mapquest Link Field'),
'field types' => array(
'getlocations_mapquest',
),
'settings' => getlocations_mapquest_link_formatter_defaults(),
),
);
return $formatters;
}