translation_supported_type
- Versions
- 6 – 7
translation_supported_type($type)
Returns whether the given content type has support for translations.
Return value
Boolean value.
Code
modules/translation/translation.module, line 306
<?php
function translation_supported_type($type) {
return variable_get('language_content_type_'. $type, 0) == TRANSLATION_ENABLED;
}
?>Login or register to post comments 