function views_handler_filter::show_value_form
Same name in other branches
- 7.x-3.x handlers/views_handler_filter.inc \views_handler_filter::show_value_form()
Shortcut to display the value form.
1 call to views_handler_filter::show_value_form()
- views_handler_filter::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.
File
-
handlers/
views_handler_filter.inc, line 203
Class
- views_handler_filter
- Base class for filters.
Code
function show_value_form(&$form, &$form_state) {
$this->value_form($form, $form_state);
if (empty($this->no_operator)) {
$form['value']['#prefix'] = '<div class="views-right-70">' . (isset($form['value']['#prefix']) ? $form['value']['#prefix'] : '');
$form['value']['#suffix'] = (isset($form['value']['#suffix']) ? $form['value']['#suffix'] : '') . '</div>';
}
}