public function SnowballStemmer::setLanguageManager in Snowball Stemmer 2.x
Same name and namespace in other branches
- 8 src/Plugin/search_api/processor/SnowballStemmer.php \Drupal\snowball_stemmer\Plugin\search_api\processor\SnowballStemmer::setLanguageManager()
Sets the language manager.
Parameters
\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.
Return value
$this
File
- src/
Plugin/ search_api/ processor/ SnowballStemmer.php, line 98
Class
- SnowballStemmer
- Stems search terms.
Namespace
Drupal\snowball_stemmer\Plugin\search_api\processorCode
public function setLanguageManager(LanguageManagerInterface $language_manager) {
$this->languageManager = $language_manager;
return $this;
}