summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/node/node.api.php5
1 files changed, 2 insertions, 3 deletions
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.
*/