function EntityInterface::referencedEntities

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\EntityInterface::referencedEntities()
  2. 8.9.x core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\EntityInterface::referencedEntities()
  3. 11.x core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\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()
EntityBase::referencedEntities in core/lib/Drupal/Core/Entity/EntityBase.php
ViewUI::referencedEntities in core/modules/views_ui/src/ViewUI.php

File

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

Class

EntityInterface
Defines a common interface for all entity objects.

Namespace

Drupal\Core\Entity

Code

public function referencedEntities();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.