You are here

function theme_taxonomy_list_term in Taxonomy List 7

Same name and namespace in other branches
  1. 5.2 taxonomy_list.module \theme_taxonomy_list_term()
  2. 5 taxonomy_list.module \theme_taxonomy_list_term()
  3. 6.2 taxonomy_list.module \theme_taxonomy_list_term()
  4. 6 taxonomy_list.module \theme_taxonomy_list_term()

Theme the term.

3 theme calls to theme_taxonomy_list_term()
theme_taxonomy_list_list in ./taxonomy_list.module
Theme a list of the term tree.
theme_taxonomy_list_table in ./taxonomy_list.module
Theme a table of the term tree.
_taxonomy_list_list_children in ./taxonomy_list.module

File

./taxonomy_list.module, line 884
List all terms in a vocabulary.

Code

function theme_taxonomy_list_term($variables) {
  $term = $variables['term'];
  $output = '<div class="taxonomy-list-item taxonomy-list-term-' . $term->tid . '">' . $term->title . $term->parent_list . $term->counter . $term->links . $term->desc . '</div>';
  return $output;
}