You are here

function security_review_run_form in Security Review 6

Same name and namespace in other branches
  1. 7 security_review.pages.inc \security_review_run_form()
1 string reference to 'security_review_run_form'
security_review_page in ./security_review.module
Page callback for run & review.

File

./security_review.module, line 254
Site security review and reporting Drupal module.

Code

function security_review_run_form($form_state, $checks = NULL) {
  $form['run_form'] = array(
    '#type' => 'fieldset',
    '#title' => t('Run'),
    '#description' => t('Click the button below to run the security checklist and review the results.'),
    '#collapsible' => TRUE,
    '#collapsed' => empty($checks) ? FALSE : TRUE,
  );
  $form['run_form']['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Run checklist'),
  );
  return $form;
}