From c2e2027f3db94f4a30cad6e73b714c031a731e88 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 9 Jun 2009 04:59:48 +0000 Subject: - Patch #336300 by jhodgdon: updated documentation to reference the correct hook. --- modules/node/node.api.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'modules/node') diff --git a/modules/node/node.api.php b/modules/node/node.api.php index df0767516..d3058a57d 100644 --- a/modules/node/node.api.php +++ b/modules/node/node.api.php @@ -855,9 +855,8 @@ function hook_update($node) { * * Changes made to the $node object within a hook_validate() function will * have no effect. The preferred method to change a node's content is to use - * hook_submit() or hook_node($op='submit') instead. If it is really - * necessary to change the node at the validate stage, you can use function - * form_set_value(). + * hook_node_presave() instead. If it is really necessary to change + * the node at the validate stage, you can use function form_set_value(). * * For a detailed usage example, see node_example.module. */ -- cgit v1.2.3