public static function LingotekSync::setTargetStatus in Lingotek Translation 7.3
Same name and namespace in other branches
- 7.7 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::setTargetStatus()
- 7.4 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::setTargetStatus()
- 7.5 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::setTargetStatus()
- 7.6 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::setTargetStatus()
4 calls to LingotekSync::setTargetStatus()
- LingotekSync::insertTargetEntriesForAllNodes in lib/
Drupal/ lingotek/ LingotekSync.php - LingotekSync::setNodeAndTargetsStatus in lib/
Drupal/ lingotek/ LingotekSync.php - lingotek_download_document in ./
lingotek.api.inc - lingotek_form_node_form_alter in ./
lingotek.module - Implements hook_form_BASE_FORM_ID_alter().
File
- lib/
Drupal/ lingotek/ LingotekSync.php, line 41 - LingotekSync
Class
- LingotekSync
- A utility class for Lingotek Syncing.
Code
public static function setTargetStatus($node_id, $lingotek_locale, $status) {
//lingotek_set_target_sync_status($node_id, $lingotek_locale, $node_status)
$key = 'target_sync_status_' . $lingotek_locale;
return lingotek_lingonode($node_id, $key, $status);
}