You are here

function translation_helpers_nodeapi in Translation helpers 6

Implementation of hook_nodeapi().

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_nodeapi(&$node, $op, $teaser, $page) {

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