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

Gets a list of entities referenced by this entity.

Return value

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

2 methods override EntityInterface::referencedEntities()
Entity::referencedEntities in core/lib/Drupal/Core/Entity/Entity.php
Gets a list of entities referenced by this entity.
ViewUI::referencedEntities in core/modules/views_ui/src/ViewUI.php
Gets a list of entities referenced by this entity.

File

core/lib/Drupal/Core/Entity/EntityInterface.php, line 413

Class

EntityInterface
Defines a common interface for all entity objects.

Namespace

Drupal\Core\Entity

Code

public function referencedEntities();