function hook_post_action_example_node_postinsert in Hook Post Action 7
Same name and namespace in other branches
- 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
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__);
}