[documentation] [Documentation task] distinguish the node hooks (functors) from the usual hooks

webchick drupal-docs at drupal.org
Sat Jan 6 02:01:26 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:   webchick
 Status:       active

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.




webchick



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.






More information about the documentation mailing list