function smart_ip_views_bridge_handler_field_coordinates::options_form in Smart IP 7.2
Same name and namespace in other branches
- 6.2 modules/smart_ip_views_bridge/views/smart_ip_views_bridge_handler_field_coordinates.inc \smart_ip_views_bridge_handler_field_coordinates::options_form()
- 6 modules/smart_ip_views_bridge/views/smart_ip_views_bridge_handler_field_coordinates.inc \smart_ip_views_bridge_handler_field_coordinates::options_form()
Default options form provides the label widget that all fields should have.
Overrides views_handler_field::options_form
File
- modules/
smart_ip_views_bridge/ views/ smart_ip_views_bridge_handler_field_coordinates.inc, line 25 - Contains the 'smart_ip_views_bridge_handler_field_coordinates' field handler.
Class
- smart_ip_views_bridge_handler_field_coordinates
- Field handler to display visitor's coordinates.
Code
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form['style'] = array(
'#type' => 'select',
'#title' => t('Display as'),
'#default_value' => $this->options['style'],
'#options' => array(
'dd' => t('Decimal degrees format'),
'dms' => t('Degrees, minutes, seconds format'),
),
);
}