You are here

public function Transliteration::setLanguageManager in Search API 8

Sets the language manager.

Parameters

\Drupal\Core\Language\LanguageManagerInterface $language_manager: The new language manager.

Return value

$this

File

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

Class

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

Namespace

Drupal\search_api\Plugin\search_api\processor

Code

public function setLanguageManager(LanguageManagerInterface $language_manager) {
  $this->languageManager = $language_manager;
  return $this;
}