You are here

public function UnsavedIndexConfiguration::referencedEntities in Search API 8

Gets a list of entities referenced by this entity.

Return value

\Drupal\Core\Entity\EntityInterface[] An array of entities.

Overrides EntityInterface::referencedEntities

File

src/UnsavedIndexConfiguration.php, line 958

Class

UnsavedIndexConfiguration
Represents a configuration of an index that was not yet permanently saved.

Namespace

Drupal\search_api

Code

public function referencedEntities() {
  return $this->entity
    ->referencedEntities();
}