function lingotek_enabled_bundle in Lingotek Translation 7.6
Same name and namespace in other branches
- 7.5 lingotek.util.inc \lingotek_enabled_bundle()
3 calls to lingotek_enabled_bundle()
- lingotek_entity_upload_triggered in ./
lingotek.module - lingotek_managed_entity in ./
lingotek.util.inc - lingotek_supported_type in ./
lingotek.util.inc - Returns whether the given node type has support for translations.
File
- ./
lingotek.util.inc, line 516 - Utility functions.
Code
function lingotek_enabled_bundle($entity_type, $bundle) {
$setting = variable_get('lingotek_entity_profiles');
return isset($setting[$entity_type][$bundle]) && $setting[$entity_type][$bundle] != LingotekSync::PROFILE_DISABLED;
}