You are here

public function ReverseEntityReferences::getEntityFieldManager in Search API 8

Retrieves the entity field manager.

Return value

\Drupal\Core\Entity\EntityFieldManager The entity field manager.

1 call to ReverseEntityReferences::getEntityFieldManager()
ReverseEntityReferences::getEntityReferences in src/Plugin/search_api/processor/ReverseEntityReferences.php
Collects all entity references.

File

src/Plugin/search_api/processor/ReverseEntityReferences.php, line 127

Class

ReverseEntityReferences
Allows indexing of reverse entity references.

Namespace

Drupal\search_api\Plugin\search_api\processor

Code

public function getEntityFieldManager() {
  return $this->entityFieldManager ?: \Drupal::service('entity_field.manager');
}