You are here

function lingotek_managed_by_entity_translation in Lingotek Translation 7.4

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.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.

6 calls to lingotek_managed_by_entity_translation()
LingotekSync::getETNodeIds in lib/Drupal/lingotek/LingotekSync.php
lingotek_download_document in ./lingotek.api.inc
lingotek_entity_translation_node_tab_access in ./lingotek.module
Entity Translation access callback when enabled with Lingotek Translation module.
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

... See full list

File

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

Code

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