You are here

public function LiveResults::setEntityTypeManager in Search API Autocomplete 8

Sets the entity type manager.

Parameters

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

Return value

$this

File

src/Plugin/search_api_autocomplete/suggester/LiveResults.php, line 81

Class

LiveResults
Provides a suggester plugin that displays live results.

Namespace

Drupal\search_api_autocomplete\Plugin\search_api_autocomplete\suggester

Code

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