function lingotek_node_pushed in Lingotek Translation 7.4
Same name and namespace in other branches
- 7.7 lingotek.util.inc \lingotek_node_pushed()
- 7.2 lingotek.util.inc \lingotek_node_pushed()
- 7.3 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.
4 calls to lingotek_node_pushed()
- LingotekSync::getETNodeIds in lib/
Drupal/ lingotek/ LingotekSync.php - lingotek_access_dev_tools in ./
lingotek.util.inc - lingotek_form_node_form_alter in ./
lingotek.module - Implements hook_form_BASE_FORM_ID_alter().
- lingotek_workbench_moderation_transition in ./
lingotek.module - Implements hook_workbench_moderation_transition()
File
- ./
lingotek.util.inc, line 501 - Utility functions.
Code
function lingotek_node_pushed($node) {
return isset($node->lingotek['document_id']) && !empty($node->lingotek['document_id']);
}