You are here

tagclouds-list-box.html.twig in TagCloud 8

Default theme implementation to diplsay the terms of a vocabulary.

The terms are presented with the voaculary name and description.

Available variables:

  • vocabulary: The vocbulary object.
  • children: A list of terms

File

templates/tagclouds-list-box.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to diplsay the terms of a vocabulary.
  5. *
  6. * The terms are presented with the voaculary name and description.
  7. *
  8. * Available variables:
  9. * - vocabulary: The vocbulary object.
  10. * - children: A list of terms
  11. *
  12. * @ingroup themeable
  13. */
  14. #}
  15. <h2>{{vocabulary.label}}</h2>
  16. <div>
  17. {% if vocabulary.description is defined %}
  18. <div>{{vocabulary.description}}</div>
  19. {% endif %}
  20. {{children}}
  21. </div>