You are here

group-content-menu.html.twig in Group Content Menu 8

Default theme implementation to present a group content menu entity.

This template is used when viewing a registered group content menu's page, e.g., /admin/group/menus)/123. 123 being the group content menu's ID.

Available variables:

  • content: A list of content items. Use 'content' to print all content, or print a subset such as 'content.title'.
  • attributes: HTML attributes for the container element.

File

templates/group-content-menu.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to present a group content menu entity.
  5. *
  6. * This template is used when viewing a registered group content menu's page,
  7. * e.g., /admin/group/menus)/123. 123 being the group content menu's ID.
  8. *
  9. * Available variables:
  10. * - content: A list of content items. Use 'content' to print all content, or
  11. * print a subset such as 'content.title'.
  12. * - attributes: HTML attributes for the container element.
  13. *
  14. * @see template_preprocess_group_content_menu()
  15. */
  16. #}
  17. <div{{ attributes.addClass('group-content-menu') }}>
  18. {% if content %}
  19. {{- content -}}
  20. {% endif %}
  21. </div>