function views_handler_filter::options_form
Same name in other branches
- 7.x-3.x handlers/views_handler_filter.inc \views_handler_filter::options_form()
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::options_form
3 calls to views_handler_filter::options_form()
- views_handler_filter_node_tnid::operator_form in modules/
translation/ views_handler_filter_node_tnid.inc - Provide simple boolean operator
- views_handler_filter_numeric::options_form in handlers/
views_handler_filter_numeric.inc - 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.
- views_handler_filter_string::options_form in handlers/
views_handler_filter_string.inc - 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.
3 methods override views_handler_filter::options_form()
- views_handler_filter_broken::options_form in handlers/
views_handler_filter.inc - 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.
- views_handler_filter_numeric::options_form in handlers/
views_handler_filter_numeric.inc - 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.
- views_handler_filter_string::options_form in handlers/
views_handler_filter_string.inc - 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.
File
-
handlers/
views_handler_filter.inc, line 101
Class
- views_handler_filter
- Base class for filters.
Code
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
if ($this->can_expose()) {
$this->show_expose_button($form, $form_state);
}
$form['op_val_start'] = array(
'#value' => '<div class="clear-block">',
);
$this->show_operator_form($form, $form_state);
$this->show_value_form($form, $form_state);
$form['op_val_end'] = array(
'#value' => '</div>',
);
if ($this->can_expose()) {
$this->show_expose_form($form, $form_state);
}
}