function EntityBase::referencedEntities

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::referencedEntities()
  2. 10 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::referencedEntities()
  3. 11.x core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::referencedEntities()

Overrides EntityInterface::referencedEntities

1 method overrides EntityBase::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/EntityBase.php, line 429

Class

EntityBase
Defines a base entity class.

Namespace

Drupal\Core\Entity

Code

public function referencedEntities() {
    return [];
}

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