{# /** * @file * Default theme implementation of a FAQ Field definition list formatter. * * Available variables: * - items: An array of objects with the following fields. * - question: Prefiltered question value by check_plain. * - answer: Prefiltered answer value by field setting format. * - name: String to be used as anchor name. * * @see template_preprocess() * @see template_preprocess_faqfield_anchor_list_formatter() * * @ingroup themeable */ #} {% spaceless %}
<{{ list_type }}> {% for item in items %}
  • {{ item.question }}
  • {% endfor %} {% for item in items %}

    {{ item.question }}

    {{ item.answer }}
    {% endfor %}
    {% endspaceless %}