You are here

function lingotek_managed_by_entity_translation in Lingotek Translation 7.6

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.3 lingotek.util.inc \lingotek_managed_by_entity_translation()
  4. 7.4 lingotek.util.inc \lingotek_managed_by_entity_translation()
  5. 7.5 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()
LingotekSync::getETNodeIds in lib/Drupal/lingotek/LingotekSync.php
lingotek_cleanup_notify_entity_translation in ./lingotek.util.inc
Report all Lingotek translations to the Entity Translation module
lingotek_pm in ./lingotek.page.inc
Page callback for the Lingotek local task on node detail pages.
lingotek_publish_form in ./lingotek.page.inc
Form constructor for the Lingotek Publish form (functionality dependent on entity_translation module installed and enabled).
lingotek_update_7408 in ./lingotek.install
Creates an upgrade path for existing translated content to be inserted into entity_translation module table if necessary

File

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

Code

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