Closed (duplicate)
Project:
Documentation
Component:
Documentation in CVS
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Feb 2006 at 15:15 UTC
Updated:
20 Jan 2007 at 06:27 UTC
in contributions\docs\developer\hooks\node.php, the description for hook_validate reads :
It can also be used to make changes to the node before submission, such as node-type-specific formatting.
I would like it very much to be true, but according to all my attempts, it is not.
Besides, all hook_validate functions in core (that is, node validation hooks, not form validation hooks...) are declared with :
function whatever_validate($node) {
...
and not
function whatever_validate(&$node) {
...
Comments
Comment #1
pnm commentedAppears to have been fixed here: http://drupal.org/node/101930