[development] Best practices: Config settings

adrian rossouw adrian at bryght.com
Fri Jan 4 13:38:02 UTC 2008


On 04 Jan 2008, at 3:10 AM, Ken Rickard wrote:

>
> If so, I'm all for it and we should make it standard practice.

If we do so, I don't think we should leave it up to module developers  
to have to do the heavy lifting of form_altering the forms it should  
appear on too.

Perhaps we should provide a mechanism for registering settings, that  
also allow you to specify groups for them. This would move away from  
just providing
a form (passed through system_settings_form), but might also end up  
being more consistent (all modules would have settings pages  
automatically created for them, provided they have settings, and it  
would allow module uninstall to delete those related settings, and an  
easy way for install profiles to provide defaults).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20080104/fe718d0a/attachment.htm 


More information about the development mailing list