You are here

function page_title_node_delete in Page Title 8.2

Same name and namespace in other branches
  1. 7.2 page_title.module \page_title_node_delete()
  2. 7 page_title.module \page_title_node_delete()

Implement hook_node_delete().

File

./page_title.module, line 421
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();
}