You are here

public static function LingotekSync::setTargetStatus in Lingotek Translation 7.5

Same name and namespace in other branches
  1. 7.7 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::setTargetStatus()
  2. 7.3 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::setTargetStatus()
  3. 7.4 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::setTargetStatus()
  4. 7.6 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::setTargetStatus()
2 calls to LingotekSync::setTargetStatus()
LingotekSync::insertTargetEntriesForAllEntities in lib/Drupal/lingotek/LingotekSync.php
lingotek_update_7502 in ./lingotek.install
Migrates comment profile settings

File

lib/Drupal/lingotek/LingotekSync.php, line 61
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);
}