handler_argument_text.inc 462 B

1234567891011121314151617
  1. <?php
  2. /**
  3. * Views argument handler class for handling fulltext fields.
  4. */
  5. class SearchApiViewsHandlerArgumentText extends SearchApiViewsHandlerArgument {
  6. /**
  7. * Get the title this argument will assign the view, given the argument.
  8. *
  9. * This usually needs to be overridden to provide a proper title.
  10. */
  11. public function title() {
  12. return t('Search for "@arg"', array('@field' => $this->definition['title'], '@arg' => $this->argument));
  13. }
  14. }