Return whether the given content type has multilingual support.

Return value

True if multilingual support is enabled.

2 calls to locale_multilingual_node_type()
locale_form_comment_form_alter in modules/locale/locale.module
Implements hook_form_FORM_ID_alter().
locale_form_node_form_alter in modules/locale/locale.module
Implements hook_form_BASE_FORM_ID_alter().

File

modules/locale/locale.module, line 343
Add language handling functionality and enables the translation of the user interface to languages other than English.

Code

function locale_multilingual_node_type($type_name) {
  return (bool) variable_get('language_content_type_' . $type_name, 0);
}