You are here

function hook_post_action_example_node_postdelete 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_postdelete()

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()

hook_node_postdelete()

File

hook_post_action_example/hook_post_action_example.module, line 134

Code

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