summaryrefslogtreecommitdiff
path: root/modules/node/node.api.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-03-18 06:49:17 +0000
committerDries Buytaert <dries@buytaert.net>2010-03-18 06:49:17 +0000
commitd224c9835163860c861b2cf53eb7569f3c14f432 (patch)
tree7de89d50bdea45636e98eaa90cc0b98f3a323404 /modules/node/node.api.php
parente0098f2e55f9421ddba2cae3da0700d573d281c2 (diff)
downloadbrdo-d224c9835163860c861b2cf53eb7569f3c14f432.tar.gz
brdo-d224c9835163860c861b2cf53eb7569f3c14f432.tar.bz2
- Patch #326564 by nenne: fixed hook_validate() documentation.
Diffstat (limited to 'modules/node/node.api.php')
-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 b1009f7e7..6793be600 100644
--- a/modules/node/node.api.php
+++ b/modules/node/node.api.php
@@ -1104,7 +1104,7 @@ function hook_update($node) {
* This hook is invoked only on the module that defines the node's content type
* (use hook_node_validate() to act on all node validations).
*
- * This hook is invoked from node_validate(), after a user has has finished
+ * This hook is invoked from node_validate(), after a user has finished
* editing the node and is previewing or submitting it. It is invoked at the end
* of all the standard validation steps, and before hook_node_validate() is
* invoked.
@@ -1113,8 +1113,7 @@ function hook_update($node) {
*
* Note: Changes made to the $node object within your hook implementation will
* have no effect. The preferred method to change a node's content is to use
- * hook_node_presave() instead. If it is really necessary to change
- * the node at the validate stage, you can use form_set_value().
+ * hook_node_presave() instead.
*
* @param $node
* The node being validated.