public static function LingotekSync::deleteTargetEntriesForAllEntities in Lingotek Translation 7.5
Same name and namespace in other branches
- 7.7 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::deleteTargetEntriesForAllEntities()
- 7.6 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::deleteTargetEntriesForAllEntities()
1 call to LingotekSync::deleteTargetEntriesForAllEntities()
- LingotekSync::deleteTargetEntriesForAllDocs in lib/
Drupal/ lingotek/ LingotekSync.php
File
- lib/
Drupal/ lingotek/ LingotekSync.php, line 121 - LingotekSync
Class
- LingotekSync
- A utility class for Lingotek Syncing.
Code
public static function deleteTargetEntriesForAllEntities($lingotek_locale) {
$keys = array(
'target_sync_status_' . $lingotek_locale,
);
db_delete('{lingotek_entity_metadata}')
->condition('entity_key', $keys, 'IN')
->execute();
}