You are here

function SearchApiStringFilter::operator_options in Search API Extended String Filter 7

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

Overrides SearchApiViewsHandlerFilter::operator_options

1 call to SearchApiStringFilter::operator_options()
SearchApiStringFilter::admin_summary in includes/handler_filter_string.inc
Display the filter on the administrative summary

File

includes/handler_filter_string.inc, line 131

Class

SearchApiStringFilter

Code

function operator_options($which = 'title') {
  $options = array();
  foreach ($this
    ->operators() as $id => $info) {
    $options[$id] = $info[$which];
  }
  return $options;
}