[development] Convention for naming contrib hooks?

Nancy Wichmann nan_wich at bellsouth.net
Thu Oct 15 18:07:07 UTC 2009


Larry Garfield wrote:
> It's generally good practice to prefix a hook with the name of your
> module if you're not a core module

Gosh, it's kind of my thoughts that if it can't be found with
module_invoke_all(), then it's not a "hook" (an API maybe). And
module_invoke_all() won't find the function unless it starts with the module
name (core or contrib).



More information about the development mailing list