handler_filter_text.inc 397 B

1234567891011121314151617181920
  1. <?php
  2. /**
  3. * @file
  4. * Contains SearchApiViewsHandlerFilterText.
  5. */
  6. /**
  7. * Views filter handler class for handling fulltext fields.
  8. */
  9. class SearchApiViewsHandlerFilterText extends SearchApiViewsHandlerFilter {
  10. /**
  11. * Provide a list of options for the operator form.
  12. */
  13. public function operator_options() {
  14. return array('=' => t('contains'), '<>' => t("doesn't contain"));
  15. }
  16. }