You are here

function geolocation_field_formatter_info in Geolocation Field 7

Same name and namespace in other branches
  1. 6 geolocation.module \geolocation_field_formatter_info()

Implements hook_field_formatter_info().

File

./geolocation.module, line 164
A geolocation field using the Field API.

Code

function geolocation_field_formatter_info() {
  return array(
    'geolocation_text' => array(
      'label' => t('Simple text-based formatter'),
      'field types' => array(
        'geolocation_latlng',
      ),
    ),
    'geolocation_latlng' => array(
      'label' => t('Simple microdata formatter'),
      'field types' => array(
        'geolocation_latlng',
      ),
    ),
    'geolocation_latitude' => array(
      'label' => t('Latitude text-based formatter'),
      'field types' => array(
        'geolocation_latlng',
      ),
    ),
    'geolocation_longitude' => array(
      'label' => t('Longitude text-based formatter'),
      'field types' => array(
        'geolocation_latlng',
      ),
    ),
  );
}