You are here

function page_title_taxonomy_term_delete in Page Title 7.2

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

Implement hook_taxonomy_term_delete().

1 call to page_title_taxonomy_term_delete()
page_title_taxonomy_term_update in ./page_title.module
Implement hook_taxonomy_term_update().

File

./page_title.module, line 444
Enhanced control over the page title (in the head tag).

Code

function page_title_taxonomy_term_delete($term) {
  db_delete('page_title')
    ->condition('type', 'term')
    ->condition('id', $term->tid)
    ->execute();
}