Closed (fixed)
Project:
Strongarm
Version:
6.x-1.0-beta3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Sep 2009 at 15:47 UTC
Updated:
22 Sep 2009 at 16:07 UTC
i've just discovered the strongarm module, and it sounds great in theory!
i want to be able to store values for my database settings (variables) in code, and in writing this seems to fit the bill.
However when i implement hook_strongarm() in my module, nothing actually happens...
i have the following setup -
strongarm module enabled, on the admin settings page, i have 'force variable values'.
in my custom module i have -
function mymodule_strongarm(){
$conf = array();
$conf['site_slogan'] = 'Slogan';
return $conf;
}
when i diabled and then re-enable my custom module i would expect the site slogan to be set to 'Slogan', however when i visit admin/settings/site-information the site slogan field remains blank. Any ideas?
Comments
Comment #1
tayzlor commentednvm, managed to fix the problem by flushing the cache, doh!