You are here

function _geofield_formatter_settings_data_options in Geofield 7

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

Helper function for getting data options

2 calls to _geofield_formatter_settings_data_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 81
Drupal field formatter hooks and helper functions.

Code

function _geofield_formatter_settings_data_options($formatter) {
  return array(
    'full' => t('Use full geometry'),
    'centroid' => t('Use centroid'),
    'bounding' => t('Use bounding box'),
  );
}