You are here

function translation_node_delete in Drupal 7

Implements hook_node_delete().

File

modules/translation/translation.module, line 417
Manages content translations.

Code

function translation_node_delete($node) {

  // Only act if we are dealing with a content type supporting translations.
  if (translation_supported_type($node->type)) {
    translation_remove_from_set($node);
  }
}