You are here

function gmap_cck_field_formatter_info in GMap Addons 5

Same name and namespace in other branches
  1. 6 gmap_cck.module \gmap_cck_field_formatter_info()
  2. 7 gmap_cck.module \gmap_cck_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

./gmap_cck.module, line 230
display of a google map as cck field

Code

function gmap_cck_field_formatter_info() {
  return array(
    'default' => array(
      'label' => t('Default map'),
      'field types' => array(
        'gmap_cck',
      ),
    ),
  );
}