function strongarm_get_culprits in Strongarm 6
Get a map of variable to culprit (implementers of hook_strongarm()).
1 call to strongarm_get_culprits()
- strongarm_admin_form in ./
strongarm.admin.inc - Variable management strongarm form.
File
- ./
strongarm.admin.inc, line 18
Code
function strongarm_get_culprits() {
$culprits = array();
foreach (module_implements('strongarm') as $module) {
$module_conf = module_invoke($module, 'strongarm');
foreach ($module_conf as $name => $value) {
$culprits[$name] = $module;
}
}
return $culprits;
}