4 * Theme override for a set of filter tips.
7 * - tips: Descriptions and a CSS ID in the form of 'module-name/filter-id'
8 * (only used when 'long' is TRUE) for each filter in one or more text
10 * - long: A flag indicating whether the passed-in filter tips contain extended
11 * explanations, i.e. intended to be output on the path 'filter/tips'
12 * (TRUE), or are in a short format, i.e. suitable to be displayed below a
13 * form element. Defaults to FALSE.
14 * - multiple: A flag indicating there is more than one filter tip.
16 * @see template_preprocess_filter_tips()
20 <h2>{{ 'Text Formats'|t }}</h2>
25 <div class="compose-tips">
28 {% for name, tip in tips %}
33 'filter-' ~ name|clean_class,
36 <div{{ tip.attributes.addClass(tip_classes) }}>
37 <h3>{{ tip.name }}</h3>
40 {% if tip.list|length %}
42 {% for item in tip.list %}
45 long ? 'filter-' ~ item.id|replace({'/': '-'}),
48 <li{{ item.attributes.addClass(item_classes) }}>{{ item.tip }}</li>