You are here

function hook_post_action_entity_insert in Hook Post Action 7

Same name and namespace in other branches
  1. 8 hook_post_action.module \hook_post_action_entity_insert()

Parameters

$entity:

$type:

File

./hook_post_action.module, line 7

Code

function hook_post_action_entity_insert($entity, $type) {
  $entity_info = array(
    'entity' => $entity,
    'type' => $type,
    'operation' => 'insert',
  );
  drupal_register_shutdown_function('_hook_post_action_post_save', $entity_info);
}