function exclude_node_title_node_delete in Exclude Node Title 8
Same name and namespace in other branches
- 7 exclude_node_title.module \exclude_node_title_node_delete()
Implements hook_node_delete().
File
- ./
exclude_node_title.module, line 204 - Primarily Drupal hooks and global API functions to exclude node titles.
Code
function exclude_node_title_node_delete(NodeInterface $node) {
if ($node->exclude_node_title == 1) {
exclude_node_title_set_flag($node, 0);
}
}