You are here

function i18n_forum_vocabulary in Internationalization 7

Get forum vocabulary.

3 calls to i18n_forum_vocabulary()
i18n_forum_help in i18n_forum/i18n_forum.module
Implements hook_help().
i18n_forum_mode in i18n_forum/i18n_forum.module
Get forum vocabulary translation mode.
i18n_forum_preprocess_forums in i18n_forum/i18n_forum.module
Translate forum page.

File

i18n_forum/i18n_forum.module, line 145
i18n forum module

Code

function i18n_forum_vocabulary() {
  if ($vid = variable_get('forum_nav_vocabulary', 0)) {
    return taxonomy_vocabulary_load($vid);
  }
  else {
    return NULL;
  }
}