public static function LingotekSync::delete_entity_from_metadata in Lingotek Translation 7.7
1 call to LingotekSync::delete_entity_from_metadata()
File
- lib/
Drupal/ lingotek/ LingotekSync.php, line 273 - LingotekSync
Class
- LingotekSync
- A utility class for Lingotek Syncing.
Code
public static function delete_entity_from_metadata($entity_type, $entity_id) {
db_delete('lingotek_entity_metadata')
->condition('entity_type', $entity_type)
->condition('entity_id', $entity_id)
->execute();
lingotek_cache_clear($entity_type, $entity_id);
}