You are here

function lingotek_node_pushed in Lingotek Translation 7.2

Same name and namespace in other branches
  1. 7.7 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.

5 calls to lingotek_node_pushed()
lingotek_access in ./lingotek.util.inc
Menu access callback.
lingotek_access_dev_tools in ./lingotek.module
lingotek_entity_translation_node_tab_access in ./lingotek.module
Entity Translation access callback when enabled with Lingotek module.
lingotek_form_node_form_alter in ./lingotek.module
Implements hook_form_BASE_FORM_ID_alter().
lingotek_node_update in ./lingotek.module
Implements hook_node_update().

File

./lingotek.util.inc, line 452
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;
}