You are here

function menu_references_filter_handler::init in Menu Reference 7

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

views/handlers/menu_references_filter_handler.inc, line 17
Views filter handler

Class

menu_references_filter_handler
@file Views filter handler

Code

function init(&$view, &$options) {
  parent::init($view, $options);

  // Filter compatibility
  if ($this->operator == '!=') {
    $this->operator = 'not in';
  }
  else {
    $this->operator = 'in';
  }
}