You are here

public static function LingotekSync::updateLingotekTranslationAgentId in Lingotek Translation 7.7

2 calls to LingotekSync::updateLingotekTranslationAgentId()
lingotek_config_disassociate_form_submit in ./lingotek.bulk_grid.inc
lingotek_config_upload_selected in ./lingotek.config.inc

File

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

Class

LingotekSync
A utility class for Lingotek Syncing.

Code

public static function updateLingotekTranslationAgentId($lids, $agent_id) {
  $query = db_update('locales_target')
    ->condition('lid', $lids, "IN")
    ->fields(array(
    'translation_agent_id' => $agent_id,
  ))
    ->execute();
}