You are here

function exclude_node_title_node_delete in Exclude Node Title 7

Same name and namespace in other branches
  1. 8 exclude_node_title.module \exclude_node_title_node_delete()

Implements hook_node_delete().

File

./exclude_node_title.module, line 160
Primarily Drupal hooks and global API functions to exclude node titles.

Code

function exclude_node_title_node_delete($node) {
  if (isset($node->exclude_node_title) && $node->exclude_node_title == TRUE) {
    exclude_node_title_set_flag($node, 0);
  }
}