You are here

function cer_entity_delete in Corresponding Entity References 8.4

Same name and namespace in other branches
  1. 7.3 cer.module \cer_entity_delete()
  2. 7 cer.module \cer_entity_delete()
  3. 7.2 cer.module \cer_entity_delete()

Implements hook_entity_delete().

File

./cer.module, line 28
CER keeps reference fields in sync.

Code

function cer_entity_delete(Drupal\Core\Entity\EntityInterface $entity) {
  cer_sync_corresponding_references($entity, TRUE);
}