Closed (fixed)
Project:
Documentation
Component:
Developer Guide
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Oct 2005 at 17:09 UTC
Updated:
20 Jan 2007 at 09:47 UTC
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
Comments
Comment #1
sepeck commentedno acitivity in a year. if this is still an issue re-open
Comment #2
fgmStill 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
Comment #3
sepeck commentedthen this seems a bug with the api module or drupal core code itself.
Comment #4
fgmApparently, 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.
Comment #5
fgmComment #6
(not verified) commented