processor_ignore_case.inc 217 B

123456789101112
  1. <?php
  2. /**
  3. * Processor for making searches case-insensitive.
  4. */
  5. class SearchApiIgnoreCase extends SearchApiAbstractProcessor {
  6. protected function process(&$value) {
  7. $value = drupal_strtolower($value);
  8. }
  9. }