function template_preprocess_simpletest_result_summary
Prepares variables for simpletest result summary templates.
Default template: simpletest-result-summary.html.twig.
Parameters
array $variables: An associative array containing:
- label: An optional label to be rendered before the results.
- ok: The overall group result pass or fail.
- pass: The number of passes.
- fail: The number of fails.
- exception: The number of exceptions.
- debug: The number of debug messages.
File
-
core/
modules/ simpletest/ simpletest.module, line 85
Code
function template_preprocess_simpletest_result_summary(&$variables) {
$variables['items'] = _simpletest_build_summary_line($variables);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.