protected static function LingotekSync::pruneChunksWithPendingTranslations in Lingotek Translation 7.7
Same name and namespace in other branches
- 7.3 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::pruneChunksWithPendingTranslations()
- 7.4 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::pruneChunksWithPendingTranslations()
- 7.5 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::pruneChunksWithPendingTranslations()
- 7.6 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::pruneChunksWithPendingTranslations()
1 call to LingotekSync::pruneChunksWithPendingTranslations()
- LingotekSync::getDirtyConfigChunks in lib/
Drupal/ lingotek/ LingotekSync.php
File
- lib/
Drupal/ lingotek/ LingotekSync.php, line 789 - LingotekSync
Class
- LingotekSync
- A utility class for Lingotek Syncing.
Code
protected static function pruneChunksWithPendingTranslations($chunk_ids) {
// return the chunk_ids not in the pending set
$final_chunks = array_diff_key($chunk_ids, self::getChunksWithPendingTranslations());
return $final_chunks;
}