8.2.x Entity.php public Entity::referencedEntities()
8.0.x Entity.php public Entity::referencedEntities()
8.1.x Entity.php public Entity::referencedEntities()
8.3.x Entity.php public Entity::referencedEntities()

Gets a list of entities referenced by this entity.

Return value

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

Overrides EntityInterface::referencedEntities

1 method overrides Entity::referencedEntities()
ContentEntityBase::referencedEntities in core/lib/Drupal/Core/Entity/ContentEntityBase.php
Gets a list of entities referenced by this entity.

File

core/lib/Drupal/Core/Entity/Entity.php, line 454

Class

Entity
Defines a base entity class.

Namespace

Drupal\Core\Entity

Code

public function referencedEntities() {
  return array();
}