You are here

function _geofield_formatter_settings_format_options in Geofield 7

Same name and namespace in other branches
  1. 7.2 geofield.formatters.inc \_geofield_formatter_settings_format_options()

Helper function for getting format options

2 calls to _geofield_formatter_settings_format_options()
geofield_field_formatter_settings_form in ./geofield.formatters.inc
Implements hook_field_formatter_settings_form().
geofield_field_formatter_settings_summary in ./geofield.formatters.inc
Implements hook_field_formatter_settings_summary().

File

./geofield.formatters.inc, line 92
Drupal field formatter hooks and helper functions.

Code

function _geofield_formatter_settings_format_options($formatter) {
  return array(
    'decimal_degrees' => t('Decimal degrees'),
    'degrees_minutes_seconds' => t('Degrees minutes seconds'),
    'ccs' => t('Astronomical Celestial Coordinates System (CCS)'),
  );
}