Backup of db before drupal security update
[yaffs-website] / web / core / modules / views_ui / templates / views-ui-display-tab-bucket.html.twig
1 {#
2 /**
3  * @file
4  * Default theme implementation for each "box" on the display query edit screen.
5  *
6  * Available variables:
7  * - attributes: HTML attributes to apply to the container element.
8  * - actions: Action links such as "Add", "And/Or, Rearrange" for the content.
9  * - title: The title of the bucket, e.g. "Fields", "Filter Criteria", etc.
10  * - content: Content items such as fields or settings in this container.
11  * - name: The name of the bucket, e.g. "Fields", "Filter Criteria", etc.
12  * - overridden: A boolean indicating the setting has been overridden from the
13  *   default.
14  *
15  * @see template_preprocess_views_ui_display_tab_bucket()
16  *
17  * @ingroup themeable
18  */
19 #}
20 {%
21   set classes = [
22     'views-ui-display-tab-bucket',
23     name ? name|clean_class,
24     overridden ? 'overridden',
25   ]
26 %}
27 <div{{ attributes.addClass(classes) }}>
28   {% if title -%}
29     <h3 class="views-ui-display-tab-bucket__title">{{ title }}</h3>
30   {%- endif %}
31   {% if actions -%}
32     {{ actions }}
33   {%- endif %}
34   {{ content }}
35 </div>