You are here

public static function LingotekConfigSet::deleteConfigSetMetadataBySetId in Lingotek Translation 7.7

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

File

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

Class

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

Code

public static function deleteConfigSetMetadataBySetId($set_ids) {
  if (empty($set_ids)) {
    return;
  }
  db_delete('lingotek_config_metadata')
    ->condition('id', $set_ids)
    ->execute();
}