1 translation.module translation_supported_type($type)

Returns whether the given content type has support for translations.

Return value

TRUE if translation is supported, and FALSE if not.:

File

core/modules/translation/translation.module, line 560
Manages content translations.

Code

function translation_supported_type($type) {
  $node_type = node_type_get_type($type);
  return $node_type->settings['language'] == TRANSLATION_ENABLED;
}