From cf30c78b42058488fb8fb4f535a469285ca31a31 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sun, 6 Jun 2010 00:24:16 +0000 Subject: #362021 by plach, yched, sun: Update field_attach_prepare_translation() for D7 entity API. --- modules/node/node.api.php | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'modules/node') diff --git a/modules/node/node.api.php b/modules/node/node.api.php index 4bf678029..95dc3b2b1 100644 --- a/modules/node/node.api.php +++ b/modules/node/node.api.php @@ -96,8 +96,7 @@ * an existing node, it will already be loaded; see the Loading section * above): * - hook_prepare() (node-type-specific) - * - hook_node_prepare() (all); if translation.module is enabled, this will - * also invoke hook_node_prepare_translation() on all modules. + * - hook_node_prepare() (all) * - hook_form() (node-type-specific) * - field_attach_form() * - Validating a node during editing form submit (calling @@ -554,21 +553,6 @@ function hook_node_prepare($node) { } } -/** - * Act on a node object being cloned for translation. - * - * This hook is invoked from translation_node_prepare() after the node is - * loaded. $node->language is set to the language being requested, and - * $node->translation_source is set to the node object being cloned. - * - * @param $node - * The node object being prepared for translation. - * - * @ingroup node_api_hooks - */ -function hook_node_prepare_translation($node) { -} - /** * Act on a node being displayed as a search result. * -- cgit v1.2.3