tagclouds-list-box.html.twig in TagCloud 8
Same filename and directory in other branches
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
1 theme call to tagclouds-list-box.html.twig
- TagcloudsListVocs::listVocs in src/
Controller/ TagcloudsListVocs.php - Renders a list of vocabularies.
File
templates/tagclouds-list-box.html.twigView source
- {#
- /**
- * @file
- * 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
- *
- * @ingroup themeable
- */
- #}
- <h2>{{vocabulary.label}}</h2>
- <div>
- {% if vocabulary.description is defined %}
- <div>{{vocabulary.description}}</div>
- {% endif %}
- {{children}}
- </div>