[development] Overriding function declared in another module

Leonard den Ottolander.nl drupal at den.ottolander.nl
Tue Jan 18 13:16:50 UTC 2011


Hello Jamie,

On Tue, 2011-01-18 at 07:29 -0500, Jamie Holly wrote:
> The trick is to set the 
> weight of your module higher than the weight of the menu module so that 
> the hook runs after menu's hook_form_alter.

Right. That did the trick. Thanks!

The fact that I saw no explicit hooking confused me. I assume every
module hooks to the forms using <module name>_form_alter implicitly?

Regards,
Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research




More information about the development mailing list