You are here

authorize-report.html.twig in Drupal 10

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.

File

core/themes/stable/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 %}