handler_filter_text.inc 334 B

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