[development] hook_update_always

Moshe Weitzman weitzman at tejasa.com
Fri Sep 22 08:45:32 UTC 2006

Dave Cohen wrote:
> On Thursday 21 September 2006 22:23, Dave Cohen wrote:
>> Is it possible to perform some action every time the update.php script is
>> run? I'd like my module's hook to be called each time, but I cannot figure
>> a way to do it.
> I figured a way.  form_alter hooks are called as usual from update.php.  
> Therefore I can use a form_alter hook to always select the appropriate update 
> for my module.  Good enough for me.

or add a submit handler to the update form. see #submit in fapi reference.

More information about the development mailing list