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

sepeck’s picture

Status: Active » Closed (fixed)

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

fgm’s picture

Status: Closed (fixed) » Active
sepeck’s picture

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

fgm’s picture

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’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)