[documentation] [Documentation task] distinguish the node hooks (functors) from the usual hooks
pwolanin
drupal-docs at drupal.org
Sat Jan 6 02:18:23 UTC 2007
Issue status update for
http://drupal.org/node/107225
Post a follow up:
http://drupal.org/project/comments/add/107225
Project: Documentation
Version: <none>
Component: Developer Guide
Category: tasks
Priority: normal
Assigned to: Anonymous
Reported by: pwolanin
Updated by: pwolanin
Status: active
I don't think the form callbacks are ever termed "hooks", are they?
Also, they are still hooks. The suggestion was really just using a
different name placeholder to distinguish them from the usual module
hooks new developers.
My only other suggestion instead of "functor" would be "nook" = "node
hook"
pwolanin
Previous comments:
------------------------------------------------------------------------
Sat, 06 Jan 2007 01:50:48 +0000 : pwolanin
Attachment: http://drupal.org/files/issues/hook-to-functor.diff (10.67 KB)
Per a recent discussion on the devel list about the confuncion between
node "hooks" (which are only called for the module defning the node
type) and normal hooks (called for all modules), came this suggestion
from chx:
http://lists.drupal.org/pipermail/development/2007-January/021677.html
Accordingly, a patch is attached for the HEAD developer docs.
If you don't like "functor" then remake the patch with something else
ASAP.
------------------------------------------------------------------------
Sat, 06 Jan 2007 02:01:26 +0000 : webchick
Hm. Problem is, this will still show up as "hook" documentation. I
wonder if we want a separate area to describe functors... $form_id
.'_validate' and such qualify as well, and it would be nice to get those
documented too.
More information about the documentation
mailing list