public function EntityReferenceDependencyManagerInterface::getDependentEntityIds in Entity Reference Integrity 8
List the entity IDs that reference the given entity.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: The entity.
Return value
array Array of entity type IDs with arrays of entity IDs.
2 methods override EntityReferenceDependencyManagerInterface::getDependentEntityIds()
- EntityReferenceDependencyManager::getDependentEntityIds in src/
EntityReferenceDependencyManager.php - List the entity IDs that reference the given entity.
- EntityReferenceIntegrityEntityHandler::getDependentEntityIds in src/
EntityReferenceIntegrityEntityHandler.php - List the entity IDs that reference the given entity.
File
- src/
EntityReferenceDependencyManagerInterface.php, line 43
Class
- EntityReferenceDependencyManagerInterface
- An interface for calculating entity dependency.
Namespace
Drupal\entity_reference_integrityCode
public function getDependentEntityIds(EntityInterface $entity);