You are here

function apachesolr_views_handler_filter_single::operators in Apache Solr Views 6

Override the operators

File

handlers/apachesolr_views_handler_filter_single.inc, line 29

Class

apachesolr_views_handler_filter_single
generic filter for Apache Solr

Code

function operators() {
  $operators = array(
    '=' => array(
      'title' => t('Is equal to'),
      'short' => t('='),
      'method' => 'op_equal',
      'values' => 1,
    ),
    '!=' => array(
      'title' => t('Is not equal to'),
      'short' => t('!='),
      'method' => 'op_equal',
      'values' => 1,
    ),
  );
  return $operators;
}