translation_supported_type
modules/translation/translation.module, строка 306
- Версии
- 6
translation_supported_type($type)
Returns whether the given content type has support for translations.
Возвращаемое значение
Boolean value.
Код
<?php
function translation_supported_type($type) {
return variable_get('language_content_type_'. $type, 0) == TRANSLATION_ENABLED;
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии