You are here

function i18n_forum_mode in Internationalization 7

Get forum vocabulary translation mode.

3 calls to i18n_forum_mode()
i18n_forum_i18n_translate_path in i18n_forum/i18n_forum.module
Implements hook_i18n_translate_path()
i18n_forum_preprocess_forums in i18n_forum/i18n_forum.module
Translate forum page.
i18n_forum_preprocess_forum_list in i18n_forum/i18n_forum.module
Translate forums list.

File

i18n_forum/i18n_forum.module, line 157
i18n forum module

Code

function i18n_forum_mode($mode = NULL) {
  if ($vocabulary = i18n_forum_vocabulary()) {
    return i18n_taxonomy_vocabulary_mode($vocabulary);
  }
  else {
    return I18N_MODE_NONE;
  }
}