You are here

function _coder_set_form_modules in Coder 6

Same name and namespace in other branches
  1. 5.2 coder.drush.inc \_coder_set_form_modules()
  2. 6.2 coder.drush.inc \_coder_set_form_modules()
1 call to _coder_set_form_modules()
coder_drush_review in ./coder.drush.inc

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']);
  }
}