authorize-report.html.twig

Same filename in this branch
  1. 10 core/modules/system/templates/authorize-report.html.twig
Same filename in other branches
  1. 9 core/themes/stable9/templates/admin/authorize-report.html.twig
  2. 9 core/themes/stable/templates/admin/authorize-report.html.twig
  3. 9 core/modules/system/templates/authorize-report.html.twig
  4. 8.9.x core/themes/stable/templates/admin/authorize-report.html.twig
  5. 8.9.x core/modules/system/templates/authorize-report.html.twig
  6. 11.x core/themes/stable9/templates/admin/authorize-report.html.twig
  7. 11.x core/modules/system/templates/authorize-report.html.twig

Theme override 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/themes/stable9/templates/admin/authorize-report.html.twig

View source
  1. {#
  2. /**
  3. * @file
  4. * Theme override for authorize.php operation report templates.
  5. *
  6. * This report displays the results of an operation run via authorize.php.
  7. *
  8. * Available variables:
  9. * - messages: A list of result messages.
  10. * - attributes: HTML attributes for the element.
  11. *
  12. * @see template_preprocess_authorize_report()
  13. */
  14. #}
  15. {% if messages %}
  16. <div{{ attributes.addClass('authorize-results') }}>
  17. {% for message_group in messages %}
  18. {{ message_group }}
  19. {% endfor %}
  20. </div>
  21. {% endif %}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.