You are here

public function Transliteration::setTransliterator in Search API 8

Sets the transliterator.

Parameters

\Drupal\Component\Transliteration\TransliterationInterface $transliterator: The new transliterator.

Return value

$this

File

src/Plugin/search_api/processor/Transliteration.php, line 80

Class

Transliteration
Makes searches insensitive to accents and other non-ASCII characters.

Namespace

Drupal\search_api\Plugin\search_api\processor

Code

public function setTransliterator(TransliterationInterface $transliterator) {
  $this->transliterator = $transliterator;
  return $this;
}