public function Server::setLanguageManager in Search API Autocomplete 8
Sets the language manager.
Parameters
\Drupal\Core\Language\LanguageManagerInterface $language_manager: The new language manager.
Return value
$this
File
- src/
Plugin/ search_api_autocomplete/ suggester/ Server.php, line 86
Class
- Server
- Provides a suggester plugin that retrieves suggestions from the server.
Namespace
Drupal\search_api_autocomplete\Plugin\search_api_autocomplete\suggesterCode
public function setLanguageManager(LanguageManagerInterface $language_manager) {
$this->languageManager = $language_manager;
return $this;
}