function lingotek_node_pushed in Lingotek Translation 7.3
Same name and namespace in other branches
- 7.7 lingotek.util.inc \lingotek_node_pushed()
- 7.2 lingotek.util.inc \lingotek_node_pushed()
- 7.4 lingotek.util.inc \lingotek_node_pushed()
- 7.5 lingotek.util.inc \lingotek_node_pushed()
- 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().
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;
}