You are here

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

Class

SearchPluginBase
Provides a base class for search plugins.

Namespace

Drupal\search_api_autocomplete\Search

Code

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