function views_handler::expose_form
Same name in other branches
- 7.x-3.x includes/handlers.inc \views_handler::expose_form()
Overridable form for exposed handler options.
If overridden, it is best to call the parent or re-implement the stuff here.
Many handlers will need to override this in order to provide options that are nicely tailored to the given filter.
1 call to views_handler::expose_form()
- views_handler::show_expose_form in includes/
handlers.inc - Shortcut to display the exposed options form.
File
-
includes/
handlers.inc, line 495
Class
- views_handler
- Base handler, from which all the other handlers are derived. It creates a common interface to create consistency amongst handlers and data.
Code
function expose_form(&$form, &$form_state) {
$form['expose']['start_left'] = array(
'#value' => '<div class="views-left-50">',
);
$this->expose_form_left($form, $form_state);
$form['expose']['end_left'] = array(
'#value' => '</div>',
);
$form['expose']['start_checkboxes'] = array(
'#value' => '<div class="form-checkboxes views-left-40 clear-block">',
);
$this->expose_form_right($form, $form_state);
$form['expose']['end_checkboxes'] = array(
'#value' => '</div>',
);
}