You are here

public static function LingotekConfigSet::deleteConfigSetMapDataBySetId in Lingotek Translation 7.7

1 call to LingotekConfigSet::deleteConfigSetMapDataBySetId()
lingotek_config_disassociate_form_submit in ./lingotek.bulk_grid.inc

File

lib/Drupal/lingotek/LingotekConfigSet.php, line 1118
Defines LingotekConfigSet.

Class

LingotekConfigSet
A class wrapper for Lingotek-specific behavior on ConfigSets.

Code

public static function deleteConfigSetMapDataBySetId($set_ids) {
  if (empty($set_ids)) {
    return;
  }
  db_delete('lingotek_config_map')
    ->condition('set_id', $set_ids)
    ->execute();
}