You are here

function geocoder_field_field_formatter_info in Geocoder 7.2

Implements hook_field_formatter_info().

File

modules/geocoder_field/geocoder_field.module, line 571

Code

function geocoder_field_field_formatter_info() {
  $formatters = array();
  $formatters['geocoder_reverse'] = array(
    'label' => t('Reverse geocoding to address'),
    'field types' => array(
      'geofield',
    ),
    'settings' => array(
      'format_handlers' => array(
        'address',
      ),
      'geocoder_handlers' => array(
        'googlemaps',
      ),
      'default_country' => '',
    ),
  );
  return $formatters;
}