public function EntityInterface::referencedEntities in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\EntityInterface::referencedEntities()
- 9 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.
1 method overrides EntityInterface::referencedEntities()
- 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 353
Class
- EntityInterface
- Defines a common interface for all entity objects.
Namespace
Drupal\Core\EntityCode
public function referencedEntities();