You are here

function lingotek_node_pushed in Lingotek Translation 7.7

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

2 calls to lingotek_node_pushed()
LingotekSync::getETNodeIds in lib/Drupal/lingotek/LingotekSync.php
lingotek_access_dev_tools in ./lingotek.util.inc

File

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

Code

function lingotek_node_pushed($node) {
  return isset($node->lingotek['document_id']) && !empty($node->lingotek['document_id']);
}