authorize-report.html.twig

Same filename in this branch
  1. 8.9.x core/themes/stable/templates/admin/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. 10 core/themes/stable9/templates/admin/authorize-report.html.twig
  5. 10 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

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
  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


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