You are here

function hook_node_postdelete in Hook Post Action 7

Gets called after a node has been deleted from database.

Parameters

$node: A node object

See also

hook_node_postsave()

hook_node_postinsert()

hook_node_postupdate()

File

./hook_post_action.api.php, line 169
Documents API functions for hook_post_action module.

Code

function hook_node_postdelete($node) {
  watchdog('hook_post_action_test', 'The deleted node @type id is @nid from @function.', array(
    '@nid' => $node->nid,
    '@type' => $node->type,
    '@function' => __FUNCTION__,
  ));
}