1 views_handler_filter_in_operator.inc views_handler_filter_in_operator::operator_options($which = 'title')

Build strings from the operators() for 'select' options

Overrides views_handler_filter::operator_options

File

core/modules/views/handlers/views_handler_filter_in_operator.inc, line 142
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_options($which = 'title') {
  $options = array();
  foreach ($this->operators() as $id => $info) {
    $options[$id] = $info[$which];
  }

  return $options;
}