public static function LingotekSync::removeNodeInfoByNodeId in Lingotek Translation 7.3
Same name and namespace in other branches
- 7.4 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::removeNodeInfoByNodeId()
2 calls to LingotekSync::removeNodeInfoByNodeId()
- LingotekSync::removeNodeInfoByDocId in lib/
Drupal/ lingotek/ LingotekSync.php - lingotek_node_delete in ./
lingotek.module - Implements hook_node_delete().
File
- lib/
Drupal/ lingotek/ LingotekSync.php, line 543 - LingotekSync
Class
- LingotekSync
- A utility class for Lingotek Syncing.
Code
public static function removeNodeInfoByNodeId($nid) {
$query = db_delete('lingotek');
$query
->condition('nid', $nid);
$result = $query
->execute();
}