You are here

function exclude_node_title_node_insert in Exclude Node Title 7

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

Implements hook_node_insert().

File

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

Code

function exclude_node_title_node_insert($node) {
  if (isset($node->exclude_node_title) && exclude_node_title_check_perm($node)) {
    exclude_node_title_set_flag($node, $node->exclude_node_title);
  }
}