You are here

public static function LingotekSync::deleteConfigMarkedValue in Lingotek Translation 7.7

Deletes a Lingotek metadata value for this item.

Parameters

int $lid: The lid for the config item.

string $marked_offset: Integer space reserved for marked value.

2 calls to LingotekSync::deleteConfigMarkedValue()
lingotek_update_marked_item_single in ./lingotek.bulk_grid.inc
Updates marked value in the lingotek_entity_metadata table for one row
lingotek_update_unmarked_items in ./lingotek.bulk_grid.inc
Updates unmarked value in the lingotek_entity_metadata table

File

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

Class

LingotekSync
A utility class for Lingotek Syncing.

Code

public static function deleteConfigMarkedValue($lid, $marked_offset) {
  db_delete('lingotek_config_metadata')
    ->condition('id', $marked_offset)
    ->condition('config_key', 'marked')
    ->condition('value', $lid)
    ->execute();
}