help-section.html.twig
Same filename in this branch
- 9 core/profiles/demo_umami/themes/umami/templates/classy/misc/help-section.html.twig
- 9 core/themes/seven/templates/classy/misc/help-section.html.twig
- 9 core/themes/claro/templates/classy/misc/help-section.html.twig
- 9 core/themes/bartik/templates/classy/misc/help-section.html.twig
- 9 core/themes/stable/templates/admin/help-section.html.twig
- 9 core/themes/classy/templates/misc/help-section.html.twig
- 9 core/modules/help/templates/help-section.html.twig
Same filename in other branches
- 8.9.x core/profiles/demo_umami/themes/umami/templates/classy/misc/help-section.html.twig
- 8.9.x core/themes/seven/templates/classy/misc/help-section.html.twig
- 8.9.x core/themes/claro/templates/classy/misc/help-section.html.twig
- 8.9.x core/themes/bartik/templates/classy/misc/help-section.html.twig
- 8.9.x core/themes/stable/templates/admin/help-section.html.twig
- 8.9.x core/themes/classy/templates/misc/help-section.html.twig
- 8.9.x core/modules/help/templates/help-section.html.twig
- 10 core/profiles/demo_umami/themes/umami/templates/classy/misc/help-section.html.twig
- 10 core/themes/stable9/templates/admin/help-section.html.twig
- 10 core/themes/claro/templates/classy/misc/help-section.html.twig
- 10 core/modules/help/templates/help-section.html.twig
- 11.x core/profiles/demo_umami/themes/umami/templates/classy/misc/help-section.html.twig
- 11.x core/themes/stable9/templates/admin/help-section.html.twig
- 11.x core/themes/claro/templates/classy/misc/help-section.html.twig
- 11.x core/modules/help/templates/help-section.html.twig
Theme override for a section of the help page.
Available variables:
- title: The section title.
- description: The description text for the section.
- links: Links to display in the section.
- empty: Text to display if there are no links.
1 theme call to help-section.html.twig
- HelpController::helpMain in core/
modules/ help/ src/ Controller/ HelpController.php - Prints a page listing various types of help.
File
-
core/
themes/ stable9/ templates/ admin/ help-section.html.twig
View source
- {#
- /**
- * @file
- * Theme override for a section of the help page.
- *
- * Available variables:
- * - title: The section title.
- * - description: The description text for the section.
- * - links: Links to display in the section.
- * - empty: Text to display if there are no links.
- */
- #}
- <h2>{{ title }}</h2>
- <p>{{ description }}</p>
- {% if links %}
- <ul>
- {% for link in links %}
- <li>{{ link }}</li>
- {% endfor %}
- </ul>
- {% else %}
- <p>{{ empty }}</p>
- {% endif %}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.