You are here

function lingotek_managed_by_entity_translation in Lingotek Translation 7.2

Same name and namespace in other branches
  1. 7.7 lingotek.util.inc \lingotek_managed_by_entity_translation()
  2. 7.3 lingotek.util.inc \lingotek_managed_by_entity_translation()
  3. 7.4 lingotek.util.inc \lingotek_managed_by_entity_translation()
  4. 7.5 lingotek.util.inc \lingotek_managed_by_entity_translation()
  5. 7.6 lingotek.util.inc \lingotek_managed_by_entity_translation()

Returns if the node type an entity_translation managed node

Return value

Boolean value.

5 calls to lingotek_managed_by_entity_translation()
lingotek_access in ./lingotek.util.inc
Menu access callback.
lingotek_entity_translation_node_tab_access in ./lingotek.module
Entity Translation access callback when enabled with Lingotek module.
lingotek_form_node_form_alter in ./lingotek.module
Implements hook_form_BASE_FORM_ID_alter().
lingotek_node_update in ./lingotek.module
Implements hook_node_update().
lingotek_supported_type in ./lingotek.util.inc
Returns whether the given node type has support for translations.

File

./lingotek.util.inc, line 442
Utility functions.

Code

function lingotek_managed_by_entity_translation($type) {
  return module_exists('entity_translation') ? entity_translation_node_supported_type($type) : FALSE;
}