You are here

public function ContentEntity::setEntityFieldManager in Search API 8

Sets the entity field manager.

Parameters

\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The new entity field manager.

Return value

$this

File

src/Plugin/search_api/datasource/ContentEntity.php, line 263

Class

ContentEntity
Represents a datasource which exposes the content entities.

Namespace

Drupal\search_api\Plugin\search_api\datasource

Code

public function setEntityFieldManager(EntityFieldManagerInterface $entity_field_manager) {
  $this->entityFieldManager = $entity_field_manager;
  return $this;
}