1 views_handler_filter_many_to_one.inc views_handler_filter_many_to_one::value_form(&$form, &$form_state)

Options form subform for setting options.

This should be overridden by all child classes and it must define $form['value']

Overrides views_handler_filter_in_operator::value_form

See also

options_form()

File

core/modules/views/handlers/views_handler_filter_many_to_one.inc, line 97
Definition of views_handler_filter_many_to_one.

Class

views_handler_filter_many_to_one
Complex filter to handle filtering for many to one relationships, such as terms (many terms per node) or roles (many roles per user).

Code

function value_form(&$form, &$form_state) {
  parent::value_form($form, $form_state);

  if (empty($form_state['exposed'])) {
    $this->helper->options_form($form, $form_state);
  }
}