You are here

public function ReverseEntityReferences::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/ReverseEntityReferences.php, line 185

Class

ReverseEntityReferences
Allows indexing of reverse entity references.

Namespace

Drupal\search_api\Plugin\search_api\processor

Code

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