1 taxonomy.theme.inc | theme_taxonomy_vocabulary_description($variables) |
Returns HTML for the vocabulary description.
Parameters
$variables: An associative array containing:
- 'vocabulary': An object containing the description of the vocabulary.
See also
taxonomy_overview_vocabularies()
Related topics
File
- core/
modules/ taxonomy/ taxonomy.theme.inc, line 37 - Theme functions for the Taxonomy module.
Code
function theme_taxonomy_vocabulary_description($variables) {
$vocabulary = $variables['vocabulary'];
$output = '';
if ($vocabulary->description) {
$output = '<div class="vocabulary-description">' . filter_xss_admin($vocabulary->description) . '</div>';
}
return $output;
}