public static function LingotekConfigChunk::restoreDirtyLids in Lingotek Translation 7.5
Same name and namespace in other branches
- 7.3 lib/Drupal/lingotek/LingotekConfigChunk.php \LingotekConfigChunk::restoreDirtyLids()
- 7.4 lib/Drupal/lingotek/LingotekConfigChunk.php \LingotekConfigChunk::restoreDirtyLids()
Mark as dirty all target segments passed, in the locales targets
Parameters
array: the list of segments that need updating
1 call to LingotekConfigChunk::restoreDirtyLids()
- LingotekConfigChunk::downloadTriggered in lib/
Drupal/ lingotek/ LingotekConfigChunk.php - Updates the local content of $target_code with data from a Lingotek Document
File
- lib/
Drupal/ lingotek/ LingotekConfigChunk.php, line 771 - Defines LingotekConfigChunk.
Class
- LingotekConfigChunk
- A class wrapper for Lingotek-specific behavior on ConfigChunks.
Code
public static function restoreDirtyLids($dirty_lids) {
if ($dirty_lids) {
db_update('locales_target')
->fields(array(
'i18n_status' => 1,
))
->condition('lid', $dirty_lids, 'IN')
->execute();
}
}