function page_title_node_delete in Page Title 7
Same name and namespace in other branches
- 8.2 page_title.module \page_title_node_delete()
- 7.2 page_title.module \page_title_node_delete()
Implement hook_node_delete().
File
- ./
page_title.module, line 272 - Enhanced control over the page title (in the head tag).
Code
function page_title_node_delete($node) {
db_delete('page_title')
->condition('type', 'node')
->condition('id', $node->nid)
->execute();
}