diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-06-06 00:24:16 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-06-06 00:24:16 +0000 |
commit | cf30c78b42058488fb8fb4f535a469285ca31a31 (patch) | |
tree | 4a26806c2eaead66fcf39f3f0665916d5a333a89 /modules/node | |
parent | 8fb6adbc21302e896b1019aad2edd5c87a518a98 (diff) | |
download | brdo-cf30c78b42058488fb8fb4f535a469285ca31a31.tar.gz brdo-cf30c78b42058488fb8fb4f535a469285ca31a31.tar.bz2 |
#362021 by plach, yched, sun: Update field_attach_prepare_translation() for D7 entity API.
Diffstat (limited to 'modules/node')
-rw-r--r-- | modules/node/node.api.php | 18 |
1 files changed, 1 insertions, 17 deletions
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 @@ -555,21 +554,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. * * This hook is invoked from node_search_execute(), after node_load() |