"Fossies" - the Fresh Open Source Software Archive

Member "drupal-8.9.10/core/themes/stable/templates/admin/simpletest-result-summary.html.twig" (26 Nov 2020, 607 Bytes) of package /linux/www/drupal-8.9.10.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 {#
    2 /**
    3  * @file
    4  * Theme override for simpletest result summaries.
    5  *
    6  * Available variables:
    7  * - label: An optional label to be rendered before the results.
    8  * - items: Pluralized summaries for each result type (number of passes, fails,
    9  *   exceptions, and debug messages).
   10  * - pass: The number of passes.
   11  * - fail: The number of fails.
   12  * - exception: The number of exceptions.
   13  * - debug: The number of debug messages.
   14  *
   15  * @see template_preprocess_simpletest_result_summary()
   16  */
   17 #}
   18 <div class="simpletest-{{ fail + exception == 0 ? 'pass' : 'fail' }}">
   19   {{ label }} {{ items|join(', ') }}
   20 </div>