function translation_node_delete

translation_node_delete($node)

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!translation!translation.module/function/translation_node_delete/7.x