function translation_supported_type

Returns whether the given content type has support for translations.

Return value

TRUE if translation is supported, and FALSE if not.

8 calls to translation_supported_type()

File

drupal/modules/translation/translation.module, line 513
Manages content translations.

Code

function translation_supported_type($type) {
  return variable_get('language_content_type_' . $type, 0) == TRANSLATION_ENABLED;
}