You are here

public function FacetSourceDeriverBase::setEntityTypeManager in Facets 8

Sets the entity manager.

Parameters

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

Return value

$this

File

src/FacetSource/FacetSourceDeriverBase.php, line 80

Class

FacetSourceDeriverBase
A base class for facet source derivers.

Namespace

Drupal\facets\FacetSource

Code

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