1 views_handler_filter_in_operator.inc views_handler_filter_in_operator::operator_values($values = 1)

File

core/modules/views/handlers/views_handler_filter_in_operator.inc, line 151
Definition of views_handler_filter_in_operator.

Class

views_handler_filter_in_operator
Simple filter to handle matching of multiple options selectable via checkboxes

Code

function operator_values($values = 1) {
  $options = array();
  foreach ($this->operators() as $id => $info) {
    if (isset($info['values']) && $info['values'] == $values) {
      $options[] = $id;
    }
  }

  return $options;
}