You are here

function taxonomy_edge_taxonomy_term_update in Taxonomy Edge 6

Same name and namespace in other branches
  1. 8 taxonomy_edge.module \taxonomy_edge_taxonomy_term_update()
  2. 7.2 taxonomy_edge.module \taxonomy_edge_taxonomy_term_update()
  3. 7 taxonomy_edge.module \taxonomy_edge_taxonomy_term_update()

Implements hook_taxonomy_term_update().

1 call to taxonomy_edge_taxonomy_term_update()
taxonomy_edge_taxonomy in ./taxonomy_edge.module
Implementation of hook_taxonomy().

File

./taxonomy_edge.module, line 206
Selecting all children of a given taxonomy term can be a pain. This module makes it easier to do this, by maintaining a complete list of edges for each term using the adjecency matrix graph theory.

Code

function taxonomy_edge_taxonomy_term_update($term) {
  if (taxonomy_edge_is_build_realtime($term->vid)) {
    return _taxonomy_edge_taxonomy_term_update($term);
  }
  else {
    _taxonomy_edge_taxonomy_term_queue($term, 'update');
  }
}