You are here

public function Server::setTransliterator in Search API Autocomplete 8

Sets the transliteration.

Parameters

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

Return value

$this

File

src/Plugin/search_api_autocomplete/suggester/Server.php, line 109

Class

Server
Provides a suggester plugin that retrieves suggestions from the server.

Namespace

Drupal\search_api_autocomplete\Plugin\search_api_autocomplete\suggester

Code

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