function cer_entity_delete in Corresponding Entity References 8.4
Same name and namespace in other branches
- 7.3 cer.module \cer_entity_delete()
- 7 cer.module \cer_entity_delete()
- 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);
}