1 translation.module translation_node_predelete(Node $node)

Implements hook_node_predelete().

File

core/modules/translation/translation.module, line 465
Manages content translations.

Code

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