You are here

general_help.html.twig in Security Review 8

Default general help page of Security Review.

Available variables:

  • paragraphs: Array of paragraphs (strings) to show as an introduction.
  • items: Array of items (strings) to show in an unordered list after the paragraphs.
  • checks: Array of check links grouped by their namespaces.

File

templates/general_help.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default general help page of Security Review.
  5. *
  6. * Available variables:
  7. * - paragraphs: Array of paragraphs (strings) to show as an introduction.
  8. * - items: Array of items (strings) to show in an unordered list after the
  9. * paragraphs.
  10. * - checks: Array of check links grouped by their namespaces.
  11. */
  12. #}
  13. {% for paragraph in paragraphs %}
  14. <p>
  15. {{ paragraph }}
  16. </p>
  17. {% endfor %}
  18. <h3>
  19. {% trans %}
  20. Check-specific help
  21. {% endtrans %}
  22. </h3>
  23. <p>
  24. {% trans %}
  25. Details and help on the security review checks. Checks are not always
  26. perfectly correct in their procedure and result. Refer to drupal.org
  27. handbook documentation if you are unsure how to make the recommended
  28. alterations to your configuration or consult the module's README.txt for
  29. support.
  30. {% endtrans %}
  31. </p>
  32. {% if checks is not empty %}
  33. {% for check_namespace in checks %}
  34. <h4>{{ check_namespace.namespace }}</h4>
  35. <ul>
  36. {% for check_link in check_namespace.check_links %}
  37. <li>{{ check_link }}</li>
  38. {% endfor %}
  39. </ul>
  40. {% endfor %}
  41. {% endif %}