You are here

public static function LingotekSync::setTargetStatus in Lingotek Translation 7.7

Same name and namespace in other branches
  1. 7.3 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::setTargetStatus()
  2. 7.4 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::setTargetStatus()
  3. 7.5 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::setTargetStatus()
  4. 7.6 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::setTargetStatus()
10 calls to LingotekSync::setTargetStatus()
LingotekSync::insertTargetEntriesForAllEntities in lib/Drupal/lingotek/LingotekSync.php
lingotek_add_target_locales in ./lingotek.batch.inc
lingotek_delete_field_translations in ./lingotek.util.inc
Delete translations for field based entities
lingotek_delete_menu_link_translations in ./lingotek.util.inc
lingotek_delete_node_translations in ./lingotek.util.inc
Delete translations for node based entities

... See full list

File

lib/Drupal/lingotek/LingotekSync.php, line 113
LingotekSync

Class

LingotekSync
A utility class for Lingotek Syncing.

Code

public static function setTargetStatus($entity_type, $entity_id, $lingotek_locale, $status, $update_on_dup = TRUE) {
  $key = 'target_sync_status_' . $lingotek_locale;
  return lingotek_keystore($entity_type, $entity_id, $key, $status, $update_on_dup);
}