translation_supported_type

6 translation.module translation_supported_type($type)
7 translation.module translation_supported_type($type)
8 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.

8 calls to translation_supported_type()

File

modules/translation/translation.module, line 485
Manages content translations.

Code

function translation_supported_type($type) {
  return variable_get('language_content_type_' . $type, 0) == TRANSLATION_ENABLED;
}
Login or register to post comments