You are here

function cer_entity_insert in Corresponding Entity References 7.3

Same name and namespace in other branches
  1. 8.4 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 143

Code

function cer_entity_insert($entity, $type) {
  if (!function_exists("cer_{$type}_insert")) {
    cer_processing_entity('insert', $entity, $type);
  }
}