function views_handler_filter::show_value_form

3.x views_handler_filter.inc views_handler_filter::show_value_form(&$form, &$form_state)
2.x views_handler_filter.inc views_handler_filter::show_value_form(&$form, &$form_state)

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 313
@todo.

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-group-box views-right-70">' . (isset($form['value']['#prefix']) ? $form['value']['#prefix'] : '');
    $form['value']['#suffix'] = (isset($form['value']['#suffix']) ? $form['value']['#suffix'] : '') . '</div>';
  }
}