You are here

function lexicon_taxonomy in Lexicon 6

Implementation of hook_taxonomy().

File

./lexicon.module, line 427
Lexicon is used to create lists of terms and definitions to use on a website and optionally mark them in the content with an indicator.

Code

function lexicon_taxonomy($op, $type, $array = NULL) {

  // Anytime a vocabulaty/term is changed the filter cache must be cleared to reflect the changes in the marking of terms in the content
  if ($type == 'term' && $array) {
    _lexicon_clear_filter_cache($array['vid'], FALSE);
  }
}