You are here

public function SearchApiViewsHandlerFilterFulltext::operator_options in Search API 7

Provide a list of options for the operator form.

Overrides SearchApiViewsHandlerFilterText::operator_options

File

contrib/search_api_views/includes/handler_filter_fulltext.inc, line 24
Contains SearchApiViewsHandlerFilterFulltext.

Class

SearchApiViewsHandlerFilterFulltext
Views filter handler class for handling fulltext fields.

Code

public function operator_options() {
  return array(
    'AND' => t('Contains all of these words'),
    'OR' => t('Contains any of these words'),
    'NOT' => t('Contains none of these words'),
  );
}