function locale_multilingual_node_type

locale_multilingual_node_type($type_name)

Return whether the given content type has multilingual support.

Return value

True if multilingual support is enabled.

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);
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!locale!locale.module/function/locale_multilingual_node_type/7.x