{# /** * @file * Template to provide minimal HTML for the field. * * Available variables: * - element: The field element. * - label: The label of the field. * - settings: The settings for the field. * - items: List of all the field items. Each item contains: * - attributes: List of HTML attributes for each item. * - content: The field item's content. */ #} {% set classes = [ 'field', 'field-name-' ~ element['#field_name']|clean_class, ] %} {% set title_classes = [ 'field-label-' ~ element['#label_display']|clean_class, (element['#label_display'] == 'visually_hidden' ? 'visually-hidden'), ] %}