You are here

function cer_entity_insert in Corresponding Entity References 8.4

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

Implements hook_entity_insert().

File

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

Code

function cer_entity_insert(EntityInterface $entity) {
  cer_sync_corresponding_references($entity);
}