You are here

function perfmon_run_form in Performance monitor 7

Run button.

1 string reference to 'perfmon_run_form'
perfmon_page in ./perfmon.pages.inc
Page callback for run & review.

File

./perfmon.pages.inc, line 134
@todo: Enter file description here. @todo: Add hook_help for all tests.

Code

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