You are here

function translation_helpers_node_delete in Translation helpers 7

Implement hook_node_delete().

Manages translation information for nodes.

File

./translation_helpers.module, line 13
Provides methods for other modules to use with translated content.

Code

function translation_helpers_node_delete($node) {

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