4 * Bartik theme override for taxonomy term fields.
7 * - attributes: HTML attributes for the containing element.
8 * - label_hidden: Whether to show the field label or not.
9 * - title_attributes: HTML attributes for the label.
10 * - label: The label for the field.
11 * - content_attributes: HTML attributes for the content.
12 * - items: List of all the field items. Each item contains:
13 * - attributes: List of HTML attributes for each item.
14 * - content: The field item's content.
15 * - entity_type: The entity type to which the field belongs.
16 * - field_name: The name of the field.
17 * - field_type: The type of the field.
18 * - label_display: The display settings for the label.
20 * @see template_preprocess_field()
26 'field--name-' ~ field_name|clean_class,
27 'field--type-' ~ field_type|clean_class,
28 'field--label-' ~ label_display,
35 label_display == 'inline' ? 'inline',
38 <div{{ attributes.addClass(classes) }}>
39 {% if not label_hidden %}
40 <h3{{ title_attributes.addClass(title_classes) }}>{{ label }}</h3>
42 <ul class="links field__items">
43 {% for item in items %}
44 <li{{ item.attributes }}>{{ item.content }}</li>