function hook_node_postinsert in Hook Post Action 7
Gets called after a node has been inserted to database.
Parameters
$node: A node object
See also
File
- ./
hook_post_action.api.php, line 131 - Documents API functions for hook_post_action module.
Code
function hook_node_postinsert($node) {
watchdog('hook_post_action_test', 'The inserted node @type id is @nid from @function.', array(
'@nid' => $node->nid,
'@type' => $node->type,
'@function' => __FUNCTION__,
));
}