You are here

function coder_review_admin_settings in Coder 7

Same name and namespace in other branches
  1. 7.2 coder_review/coder_review.admin.inc \coder_review_admin_settings()

Configuration page.

1 string reference to 'coder_review_admin_settings'
coder_review_menu in coder_review/coder_review.module
Implements hook_menu().

File

coder_review/coder_review.module, line 617

Code

function coder_review_admin_settings($form, &$form_state) {
  $settings = _coder_review_get_default_settings();
  $form = _coder_review_settings_form($settings, $system, $files);
  $form['help'] = array(
    '#type' => 'markup',
    '#markup' => t('After setting these defaults, use <a href="@url">coder review</a> to perform code reviews.', array(
      '@url' => url('admin/config/development/coder/review'),
    )),
    '#weight' => -1,
  );
  $form['#submit'][] = 'coder_review_settings_form_submit';
  return system_settings_form($form);
}