[documentation] hook_validate
Karoly Negyesi
karoly at negyesi.net
Wed Mar 29 19:58:02 UTC 2006
On Wed, 29 Mar 2006 20:49:50 +0200, Bill Fitzgerald <bill at funnymonkey.com>
wrote:
> In the version of the story module I dowloaded from cvs today,
> hook_validate is not called --
Because there is no need to call it, that does not mean we killed the hook.
> There are 6 hooks in the module, in this order --
> _help
> _node_info
> _perm
> _access
> _info
> _form
>
> I'm not a programmer, and I don't claim to know anything about the
> reasons/rationale for including different hooks in different ways, but
> hook_validate is not in the version of the story module I downloaded:
> $Id: story.module,v 1.186 2006/03/27 18:02:48 killes Exp $
Yes, because story does not define any fields which require special
validation. But the hook exists nonetheless.
More information about the documentation
mailing list