You are here

protected static function LingotekSync::pruneChunksWithPendingTranslations in Lingotek Translation 7.6

Same name and namespace in other branches
  1. 7.7 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::pruneChunksWithPendingTranslations()
  2. 7.3 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::pruneChunksWithPendingTranslations()
  3. 7.4 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::pruneChunksWithPendingTranslations()
  4. 7.5 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 601
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;
}