You are here

function i18n_node_language_mode in Internationalization 7

Get language mode for node or node type

2 calls to i18n_node_language_mode()
i18n_node_language_list in i18n_node/i18n_node.module
Get allowed languages for node.
i18n_node_node_view_alter in i18n_node/i18n_node.module
Implements hook_node_view_alter().

File

i18n_node/i18n_node.module, line 214
Internationalization (i18n) module - Node type handling

Code

function i18n_node_language_mode($type) {
  $type = is_object($type) ? $type->type : $type;
  return variable_get('i18n_node_extended_' . $type, I18N_LANGUAGE_ENABLED);
}