Not all hooks are invoked by module_invoke or module_invoke_all. They can also be called manually with module_implements or by drupal_alter(). <a href="http://drupalcontrib.org/api/search/6/hook_">http://drupalcontrib.org/api/search/6/hook_</a> seems to display several pages of contrib module hooks (once the functions begin with &#39;hook_&#39;).<br>
<br clear="all">Dave Reid<br><a href="mailto:dave@davereid.net">dave@davereid.net</a><br>
<br><br><div class="gmail_quote">On Fri, Oct 16, 2009 at 1:05 PM, Jennifer Hodgdon <span dir="ltr">&lt;<a href="mailto:yahgrp@poplarware.com">yahgrp@poplarware.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">arthur wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Do people feel like we&#39;re moving toward consensus that the contrib hook standard ought to be hook_module_name_foo_bar()?<br>
</blockquote>
<br></div>
That would be a good start.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Secondly, do we want to identify a doxygen tag so that we can put together a list of contrib hooks?<br>
</blockquote>
<br></div>
Let&#39;s first at least say that module developers whose modules use module_invoke or module_invoke_all to invoke a hook ought to document the hook in the first place. My non-scientific sample* of a few found zero that did.<br>

<br>
* Go to <a href="http://drupalcontrib.org" target="_blank">drupalcontrib.org</a>, find the module_invoke or module_invoke_all function, and click through to some of the functions in contrib that call those two functions. Then search for the name of the implied hook. Find nothing. Of course, maybe <a href="http://drupalcontrib.org" target="_blank">drupalcontrib.org</a> is not indexing *.api.php files, or I&#39;m missing something?<div>
<div></div><div class="h5"><br>
<br>
   --Jennifer<br>
<br>
<br>
-- <br>
Jennifer Hodgdon * Poplar ProductivityWare<br>
<a href="http://www.poplarware.com" target="_blank">www.poplarware.com</a><br>
Drupal, WordPress, and custom Web programming<br>
<br>
</div></div></blockquote></div><br>