Hi all,

I'm a newbie Drupal module developer - is there a hook (or any other method) of being notified when the settings page has been saved (ie after save on hook_settings)? I need to do a bit of work on the settings that have been saved, but can't figure out how.

Thanks,

Matt

Comments

profix898’s picture

Look at http://drupal.org/node/36140 for an example how to create
user-defined validation- or submit-functions. For Drupal 4.7
you simply create a new function named yourmodule_submit.

But I'm not sure whether you can let the system save your variables
and add some extra stuff yourself. I posted a similar question several
days before (http://drupal.org/node/46969) but never got an answer.

Hope you are more lucky! :)