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

File

core/modules/views/handlers/views_handler_filter_string.inc, line 169
Definition of views_handler_filter_string.

Class

views_handler_filter_string
Basic textfield filter to handle string filtering commands including equality, like, not like, etc.

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;
}