You are here

flag_list_item.html.twig in Flag Lists 8

Same filename and directory in other branches
  1. 4.0.x templates/flag_list_item.html.twig

flag_list_item.html.twig Default theme implementation to present Flag list item data.

This template is used when viewing Flag list item pages.

Available variables:

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

File

templates/flag_list_item.html.twig
View source
  1. {#
  2. /**
  3. * @file flag_list_item.html.twig
  4. * Default theme implementation to present Flag list item data.
  5. *
  6. * This template is used when viewing Flag list item pages.
  7. *
  8. *
  9. * Available variables:
  10. * - content: A list of content items. Use 'content' to print all content, or
  11. * - attributes: HTML attributes for the container element.
  12. *
  13. * @see template_preprocess_flag_list_item()
  14. *
  15. * @ingroup themeable
  16. */
  17. #}
  18. <div{{ attributes.addClass('flag_list_item') }}>
  19. {% if content %}
  20. {{- content -}}
  21. {% endif %}
  22. </div>