You are here

public function SearchPluginDeriverBase::setEntityTypeManager in Search API Autocomplete 8

Sets the entity manager.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity manager.

Return value

$this

File

src/Search/SearchPluginDeriverBase.php, line 86

Class

SearchPluginDeriverBase
Provides a base class for search plugin derivers.

Namespace

Drupal\search_api_autocomplete\Search

Code

public function setEntityTypeManager(EntityTypeManagerInterface $entity_type_manager) {
  $this->entityTypeManager = $entity_type_manager;
  return $this;
}