function translation_node_delete

Implements hook_node_delete().

File

modules/translation/translation.module, line 417

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);
    }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.