public function LanguageWithFallback::setLanguageManager in Search API 8
Sets the language manager.
Parameters
\Drupal\Core\Language\LanguageManagerInterface $languageManager: The new language manager.
Return value
$this
File
- src/
Plugin/ search_api/ processor/ LanguageWithFallback.php, line 99
Class
- LanguageWithFallback
- Adds the item's language (with fallbacks) to the indexed data.
Namespace
Drupal\search_api\Plugin\search_api\processorCode
public function setLanguageManager(LanguageManagerInterface $languageManager) {
$this->languageManager = $languageManager;
return $this;
}