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.
1 theme call to general_help.html.twig
- HelpController::generalHelp in src/
Controller/ HelpController.php - Returns the general help page.
File
templates/general_help.html.twigView source
- {#
- /**
- * @file
- * 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.
- */
- #}
-
- {% for paragraph in paragraphs %}
- <p>
- {{ paragraph }}
- </p>
- {% endfor %}
- <h3>
- {% trans %}
- Check-specific help
- {% endtrans %}
- </h3>
- <p>
- {% trans %}
- Details and help on the security review checks. Checks are not always
- perfectly correct in their procedure and result. Refer to drupal.org
- handbook documentation if you are unsure how to make the recommended
- alterations to your configuration or consult the module's README.txt for
- support.
- {% endtrans %}
- </p>
- {% if checks is not empty %}
- {% for check_namespace in checks %}
- <h4>{{ check_namespace.namespace }}</h4>
- <ul>
- {% for check_link in check_namespace.check_links %}
- <li>{{ check_link }}</li>
- {% endfor %}
- </ul>
- {% endfor %}
- {% endif %}