You are here

function lingotek_enabled_bundle in Lingotek Translation 7.5

Same name and namespace in other branches
  1. 7.6 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 489
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;
}