authorize-report.html.twig in Drupal 10
Same filename in this branch
Same filename and directory in other branches
Default theme implementation for authorize.php operation report templates.
This report displays the results of an operation run via authorize.php.
Available variables:
- messages: A list of result messages.
- attributes: HTML attributes for the element.
See also
1 theme call to authorize-report.html.twig
- authorize.php in core/
authorize.php - Administrative script for running authorized file operations.
File
core/modules/system/templates/authorize-report.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation for authorize.php operation report templates.
- *
- * This report displays the results of an operation run via authorize.php.
- *
- * Available variables:
- * - messages: A list of result messages.
- * - attributes: HTML attributes for the element.
- *
- * @see template_preprocess_authorize_report()
- *
- * @ingroup themeable
- */
- #}
- {% if messages %}
- <div{{ attributes.addClass('authorize-results') }}>
- {% for message_group in messages %}
- {{ message_group }}
- {% endfor %}
- </div>
- {% endif %}