function i18n_taxonomy_vocabulary_description in Internationalization 7
Get localized vocabulary description, unfiltered.
File
- i18n_taxonomy/
i18n_taxonomy.module, line 526 - i18n taxonomy module
Code
function i18n_taxonomy_vocabulary_description($vocabulary, $langcode = NULL) {
return i18n_object_langcode($vocabulary) ? $vocabulary->description : i18n_string(array(
'taxonomy',
'vocabulary',
$vocabulary->vid,
'description',
), $vocabulary->description, array(
'langcode' => $langcode,
'sanitize' => FALSE,
));
}