function office_hours_handler_filter_open::expose_form in Office Hours 7
Options form subform for exposed filter options.
Overrides views_handler_filter_in_operator::expose_form
See also
options_form()
File
- includes/
office_hours_handler_filter_open.inc, line 35 - Implements Views integration: filter 'open now'.
Class
- office_hours_handler_filter_open
- @file Implements Views integration: filter 'open now'.
Code
function expose_form(&$form, &$form_state) {
parent::expose_form($form, $form_state);
$form['expose']['day'] = array(
'#type' => 'checkbox',
'#title' => t('Limit list to selected items'),
'#description' => t('If checked, the only items presented to the user will be the ones selected here.'),
'#default_value' => !empty($this->options['expose']['day']),
);
}