You are here

public function SearchApiAllTerms::setEntityTypeManager in Search API 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/views/argument/SearchApiAllTerms.php, line 60

Class

SearchApiAllTerms
Defines a contextual filter searching through all indexed taxonomy fields.

Namespace

Drupal\search_api\Plugin\views\argument

Code

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