Same name and namespace in other branches
  1. 7.x modules/translation/translation.module \translation_supported_type()

Returns whether the given content type has support for translations.

Return value

Boolean value.

1 call to translation_supported_type()
_translation_tab_access in modules/translation/translation.module
Menu access callback.

File

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

Code

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