function theme_simpletest_result_summary
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
1 theme call to theme_simpletest_result_summary()
- simpletest_result_form in modules/
simpletest/ simpletest.pages.inc - Test results form for $test_id.
File
-
modules/
simpletest/ simpletest.pages.inc, line 379
Code
function theme_simpletest_result_summary($variables) {
$form = $variables['form'];
return '<div class="simpletest-' . ($form['#ok'] ? 'pass' : 'fail') . '">' . _simpletest_format_summary_line($form) . '</div>';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.