You are here

function getlocations_fields_handler_field_latitude::options_form in Get Locations 7.2

Same name and namespace in other branches
  1. 7 modules/getlocations_fields/handlers/getlocations_fields_handler_field_latitude.inc \getlocations_fields_handler_field_latitude::options_form()

Default options form provides the label widget that all fields should have.

Overrides views_handler_field::options_form

File

modules/getlocations_fields/handlers/getlocations_fields_handler_field_latitude.inc, line 19
getlocations_fields_handler_field_latitude.inc @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL

Class

getlocations_fields_handler_field_latitude
@file getlocations_fields_handler_field_latitude.inc @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['style'] = array(
    '#title' => t('Display style'),
    '#type' => 'select',
    '#options' => array(
      'dd' => t('Decimal degrees'),
      'dms' => t('Degrees, minutes, seconds'),
    ),
    '#default_value' => $this->options['style'],
  );
}