public function EntityBase::referencedEntities in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::referencedEntities()
- 10 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::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 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 485
Class
- EntityBase
- Defines a base entity class.
Namespace
Drupal\Core\EntityCode
public function referencedEntities() {
return [];
}