You are here

public function EntityReferenceDependencyManagerInterface::getDependentEntities in Entity Reference Integrity 8

List the entities that reference the given entity.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The entity.

Return value

array Array of entity type IDs with arrays of loaded entities.

2 methods override EntityReferenceDependencyManagerInterface::getDependentEntities()
EntityReferenceDependencyManager::getDependentEntities in src/EntityReferenceDependencyManager.php
List the entities that reference the given entity.
EntityReferenceIntegrityEntityHandler::getDependentEntities in src/EntityReferenceIntegrityEntityHandler.php
List the entities that reference the given entity.

File

src/EntityReferenceDependencyManagerInterface.php, line 32

Class

EntityReferenceDependencyManagerInterface
An interface for calculating entity dependency.

Namespace

Drupal\entity_reference_integrity

Code

public function getDependentEntities(EntityInterface $entity);