You are here

function theme_tvi_term_description in Taxonomy Views Integrator 6

Same name and namespace in other branches
  1. 7 tvi.module \theme_tvi_term_description()

Returns the taxonomy description (for active view overrides).

1 theme call to theme_tvi_term_description()
tvi_render_view in ./tvi.module
Replaces taxonomy page callback

File

./tvi.module, line 176
Enables use of views for taxonomy pages.

Code

function theme_tvi_term_description($term) {
  if (is_object($term)) {
    return '<div class="tvi-term-desc">' . filter_xss_admin($term->description) . '</div>';
  }
}