[development] Overriding function declared in another module

FGM fgm at osinet.fr
Tue Jan 18 13:27:26 UTC 2011

Or <module name>_form_<form_id>_alter().

----- Original Message ----- 
From: "Leonard den Ottolander.nl" <drupal at den.ottolander.nl>
To: <development at drupal.org>
Sent: Tuesday, January 18, 2011 2:16 PM
Subject: Re: [development] Overriding function declared in another module

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?


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

More information about the development mailing list