You are here

function _coder_review_set_form_modules in Coder 7

Same name and namespace in other branches
  1. 7.2 coder_review/coder_review.drush.inc \_coder_review_set_form_modules()
1 call to _coder_review_set_form_modules()
coder_review_drush_review in coder_review/coder_review.drush.inc
Do the actual review.

File

coder_review/coder_review.drush.inc, line 55
Command line utility for coder_review.

Code

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