function _coder_set_form_modules in Coder 6
Same name and namespace in other branches
- 5.2 coder.drush.inc \_coder_set_form_modules()
- 6.2 coder.drush.inc \_coder_set_form_modules()
1 call to _coder_set_form_modules()
File
- ./
coder.drush.inc, line 14
Code
function _coder_set_form_modules(&$settings) {
if (isset($settings['coder_modules'])) {
foreach ($settings['coder_modules'] as $key => $value) {
if ($value == 1) {
$settings['coder_modules-' . $key] = 1;
}
}
unset($settings['coder_modules']);
}
}