public function Transliteration::getLanguageManager in Search API 8
Retrieves the language manager.
Return value
\Drupal\Core\Language\LanguageManagerInterface The language manager.
File
- src/
Plugin/ search_api/ processor/ Transliteration.php, line 91
Class
- Transliteration
- Makes searches insensitive to accents and other non-ASCII characters.
Namespace
Drupal\search_api\Plugin\search_api\processorCode
public function getLanguageManager() {
return $this->languageManager ?: \Drupal::languageManager();
}