function locale_multilingual_node_type

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

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.