You are here

function lingotek_node_pushed in Lingotek Translation 7.3

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

Returns whether the given node type is an entity_translation node and has been pushed to lingotek.

Return value

Boolean value.

8 calls to lingotek_node_pushed()
LingotekSync::getETNodeIds in lib/Drupal/lingotek/LingotekSync.php
lingotek_access in ./lingotek.util.inc
Menu access callback.
lingotek_access_dev_tools in ./lingotek.util.inc
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().

... See full list

File

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

Code

function lingotek_node_pushed($node) {
  $lingonode = lingotek_lingonode($node->nid, 'document_id');
  $pushed_to_lingotek = $lingonode !== FALSE;

  //!empty($lingonode);
  return $pushed_to_lingotek;
}