function hms_field_views_handler_filter_hms::options_form in HMS Field 7
Provide the basic form which calls through to subforms.
If overridden, it is best to call through to the parent, or to at least make sure all of the functions in this form are called.
Overrides views_handler_filter::options_form
File
- views/
hms_field_views_handler_filter_hms.inc, line 65 - Definition of hms_field_views_handler_filter_hms.
Class
- hms_field_views_handler_filter_hms
- Filter to handle hms fields stored as a integer.
Code
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form['value']['input_format'] = array(
'#type' => 'select',
'#title' => t('Input format'),
'#weight' => -5,
'#options' => _hms_format_options(),
'#default_value' => $this->options['value']['input_format'],
);
}