You are here

public function SearchApiTagCache::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/cache/SearchApiTagCache.php, line 72

Class

SearchApiTagCache
Defines a tag-based cache plugin for use with Search API views.

Namespace

Drupal\search_api\Plugin\views\cache

Code

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