[documentation] hook_validate
Bill Fitzgerald
bill at funnymonkey.com
Wed Mar 29 18:59:49 UTC 2006
One edit to my earlier email -- the hooks called in the story module
($Id: story.module,v 1.186 2006/03/27 18:02:48 killes Exp $) are:
_help
_node_info
_perm
_access
*_menu*
_form
Cheers,
Bill
Bill Fitzgerald wrote:
> In the version of the story module I dowloaded from cvs today,
> hook_validate is not called --
>
> 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 $
>
> Hope this helps to clarify.
>
> Cheers,
>
> Bill
>
> Karoly Negyesi wrote:
>
>> On Wed, 29 Mar 2006 18:31:47 +0200, Bill Fitzgerald
>> <bill at funnymonkey.com> wrote:
>>
>>> Hello, all,
>>>
>>> I just posted a comment on the "How to create a new node type from
>>> the story node" handbook page:
>>> http://drupal.org/node/40684#comment-106807
>>>
>>> Based on changes to the cvs version of Drupal, the page should be
>>> updated to reflect that hook_validate no longer exists.
>>
>>
>>
>> What are you talking of? hook_validate exists , it just have been
>> split into more hooks:
>>
>> prepare
>> validate
>> submit
>>
>> --
>> Pending work: http://drupal.org/project/issues/documentation/
>> List archives: http://lists.drupal.org/pipermail/documentation/
>
>
>
--
Bill Fitzgerald
http://www.funnymonkey.com
Tools for Teachers
503.897.7160
More information about the documentation
mailing list