You are here

public function SearchApiRelationship::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/relationship/SearchApiRelationship.php, line 43

Class

SearchApiRelationship
Views relationship plugin for datasources.

Namespace

Drupal\search_api\Plugin\views\relationship

Code

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