theme_simpletest_result_summary

  1. drupal
    1. 8
    2. 7
Versions
8 – 7 theme_simpletest_result_summary($variables)

Returns HTML for the summary status of a simpletest result.

Parameters

$variables An associative array containing:

  • form: A render element representing the form.

Related topics

Code

modules/simpletest/simpletest.pages.inc, line 376

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