You are here

function coder_admin_settings in Coder 5.2

Same name and namespace in other branches
  1. 5 coder.module \coder_admin_settings()
  2. 6.2 coder.module \coder_admin_settings()
  3. 6 coder.module \coder_admin_settings()

Implementation of settings page for Drupal 5.

1 string reference to 'coder_admin_settings'
coder_menu in ./coder.module
Implementation of hook_menu().

File

./coder.module, line 423
Developer Module that assists with code review and version upgrade that supports a plug-in extensible hook system so contributed modules can define additional review standards.

Code

function coder_admin_settings() {
  $settings = _coder_get_default_settings();
  $form = _coder_settings_form($settings, $system, $files);
  $form['help'] = array(
    '#type' => 'markup',
    '#value' => t('After setting these defaults, use <a href="@url">coder</a> to perform code reviews.', array(
      '@url' => url('coder'),
    )),
    '#weight' => -1,
  );
  $form['#submit']['coder_settings_form_submit'] = array();
  $form['#submit']['system_settings_form_submit'] = array();
  return system_settings_form($form);
}