You are here

function cer_entity_update in Corresponding Entity References 8.4

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

Implements hook_entity_update().

File

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

Code

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