You are here

public static function LingotekSync::disassociateAllEntities in Lingotek Translation 7.6

Same name and namespace in other branches
  1. 7.7 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::disassociateAllEntities()
  2. 7.3 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::disassociateAllEntities()
  3. 7.4 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::disassociateAllEntities()
  4. 7.5 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::disassociateAllEntities()
1 call to LingotekSync::disassociateAllEntities()
lingotek_disassociate_all_form_submit in ./lingotek.admin.inc

File

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

Class

LingotekSync
A utility class for Lingotek Syncing.

Code

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