You are here

authorize-report.html.twig in Drupal 10

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.

File

core/modules/system/templates/authorize-report.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation 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. * @ingroup themeable
  15. */
  16. #}
  17. {% if messages %}
  18. <div{{ attributes.addClass('authorize-results') }}>
  19. {% for message_group in messages %}
  20. {{ message_group }}
  21. {% endfor %}
  22. </div>
  23. {% endif %}

Related topics