function location_views_handler_field_latitude::options_form in Location 7.4
Same name and namespace in other branches
- 6.3 handlers/location_views_handler_field_latitude.inc \location_views_handler_field_latitude::options_form()
- 7.5 handlers/location_views_handler_field_latitude.inc \location_views_handler_field_latitude::options_form()
- 7.3 handlers/location_views_handler_field_latitude.inc \location_views_handler_field_latitude::options_form()
Default options form provides the label widget that all fields should have.
Overrides views_handler_field::options_form
File
- handlers/
location_views_handler_field_latitude.inc, line 16 - Latitude field handler.
Class
- location_views_handler_field_latitude
- @file Latitude field handler.
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'],
);
}