1 views_handler_filter_many_to_one.inc views_handler_filter_many_to_one::init(&$view, &$options)

Provide some extra help to get the operator/value easier to use.

This likely has to be overridden by filters which are more complex than simple operator/value.

Overrides views_handler_filter::init

File

core/modules/views/handlers/views_handler_filter_many_to_one.inc, line 26
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 init(&$view, &$options) {
  parent::init($view, $options);
  $this->helper = new views_many_to_one_helper($this);
}