summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-06-09 04:59:48 +0000
committerDries Buytaert <dries@buytaert.net>2009-06-09 04:59:48 +0000
commitc2e2027f3db94f4a30cad6e73b714c031a731e88 (patch)
tree385de8a37acf0f57872774bcc26bd10d6e1180ee
parentf24e031aca532a80fa0c088d9b489c0ce51d952a (diff)
downloadbrdo-c2e2027f3db94f4a30cad6e73b714c031a731e88.tar.gz
brdo-c2e2027f3db94f4a30cad6e73b714c031a731e88.tar.bz2
- Patch #336300 by jhodgdon: updated documentation to reference the correct hook.
-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.
*/