You are here

function lingotek_managed_by_entity_translation in Lingotek Translation 7.3

Same name and namespace in other branches
  1. 7.7 lingotek.util.inc \lingotek_managed_by_entity_translation()
  2. 7.2 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.

7 calls to lingotek_managed_by_entity_translation()
LingotekSync::getETNodeIds in lib/Drupal/lingotek/LingotekSync.php
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 Translation module.
lingotek_form_node_form_alter in ./lingotek.module
Implements hook_form_BASE_FORM_ID_alter().
lingotek_supported_type in ./lingotek.util.inc
Returns whether the given node type has support for translations.

... See full list

File

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

Code

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