You are here

function lexicon_taxonomy_term_delete in Lexicon 7

Implements hook_taxonomy_term_delete().

File

./lexicon.module, line 515
The Lexicon module is used to create lists of terms and definitions to use on a website and optionally mark those terms in the content of the website.

Code

function lexicon_taxonomy_term_delete($term) {

  // Clear the filter cache so that the deleted term is no langer marked
  // in content.
  _lexicon_clear_filter_cache($term->vid, FALSE);
}