You are here

public static function LingotekSync::disassociateAllEntities in Lingotek Translation 7.7

Same name and namespace in other branches
  1. 7.3 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::disassociateAllEntities()
  2. 7.4 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::disassociateAllEntities()
  3. 7.5 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::disassociateAllEntities()
  4. 7.6 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::disassociateAllEntities()
3 calls to LingotekSync::disassociateAllEntities()
drush_lingotek_db_cleanup in ./lingotek.drush.inc
Callback function for drush command lt-db-cleanup.
lingotek_disassociate_all_form_submit in ./lingotek.admin.inc
lingotek_disconnect_form_submit in ./lingotek.admin.inc

File

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

Class

LingotekSync
A utility class for Lingotek Syncing.

Code

public static function disassociateAllEntities() {
  db_truncate('lingotek_entity_metadata')
    ->execute();
  lingotek_cache_clear();
}