[documentation] [Documentation bug] Missing documentation on hook_validate

fgm drupal-docs at drupal.org
Sat Jan 6 09:42:05 UTC 2007


Issue status update for 
http://drupal.org/node/32847
Post a follow up: 
http://drupal.org/project/comments/add/32847

 Project:      Documentation
 Version:      <none>
 Component:    Developer Guide
 Category:     bug reports
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  fgm
 Updated by:   fgm
 Status:       active

Apparently, this is just a documentation omission in the respective
doc/developer/hooks/node.php files.


I fixed it in all three branches: it should appear in the next builds.




fgm



Previous comments:
------------------------------------------------------------------------

Sun, 02 Oct 2005 17:09:12 +0000 : fgm

For 4.5, 4.6 and HEAD, the hook_validate spec does not specify the
return value, which seems to be void.


It is documented for 4.4, which apparently used other conventions.


Pages affected:
http://drupaldocs.org/api/4.5/function/hook_validate
http://drupaldocs.org/api/4.6/function/hook_validate
http://drupaldocs.org/api/head/function/hook_validate




------------------------------------------------------------------------

Fri, 05 Jan 2007 06:10:28 +0000 : sepeck

no acitivity in a year.  if this is still an issue re-open




------------------------------------------------------------------------

Fri, 05 Jan 2007 10:24:08 +0000 : fgm

Still applies, but the pages have changed:


5.0 http://api.drupal.org/api/HEAD/function/hook_validate
4.7 http://api.drupal.org/api/4.7/function/hook_validate
4.6 http://api.drupal.org/api/4.6/function/hook_validate


The "return value": none is still missing




------------------------------------------------------------------------

Sat, 06 Jan 2007 00:19:27 +0000 : sepeck

then this seems a bug with the api module or drupal core code itself.






More information about the documentation mailing list