function theme_simpletest_result_summary

7.x theme_simpletest_result_summary($variables)

Returns HTML for the summary status of a simpletest result.


$variables: An associative array containing:

  • form: A render element representing the form.

Related topics

2 string references to the theme hook from theme_simpletest_result_summary()

Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.

simpletest_result_form in drupal/modules/simpletest/
Test results form for $test_id.
simpletest_theme in drupal/modules/simpletest/simpletest.module
Implements hook_theme().


drupal/modules/simpletest/, line 379
Page callbacks for simpletest module.


function theme_simpletest_result_summary($variables) {
  $form = $variables['form'];
  return '<div class="simpletest-' . ($form['#ok'] ? 'pass' : 'fail') . '">' . _simpletest_format_summary_line($form) . '</div>';