authorize-report.html.twig
Same filename in this branch
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
template_preprocess_authorize_report()
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.twig
View 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 %}
Related topics
- Theme system overview
- Functions and templates for the user interface that themes can override.