You are here

public function DisplayPluginBase::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/Display/DisplayPluginBase.php, line 105

Class

DisplayPluginBase
Defines a base class from which other display classes may extend.

Namespace

Drupal\search_api\Display

Code

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