You are here

function hook_post_action_example_node_postinsert in Hook Post Action 7

Same name and namespace in other branches
  1. 8 hook_post_action_example/hook_post_action_example.module \hook_post_action_example_node_postinsert()

Gets called after a node has been inserted to database.

Parameters

$node: A node object

See also

hook_node_postsave()

hook_node_postupdate()

hook_node_postdelete()

hook_node_postinsert()

File

hook_post_action_example/hook_post_action_example.module, line 104

Code

function hook_post_action_example_node_postinsert($node) {
  watchdog('hook_post_action_test', "The inserted node {$node->type} id is {$node->nid} from " . __FUNCTION__);
}