views-ui-display-tab-bucket.html.twig
Same filename in this branch
Same filename in other branches
- 9 core/themes/stable9/templates/admin/views-ui-display-tab-bucket.html.twig
- 9 core/themes/claro/templates/views/views-ui-display-tab-bucket.html.twig
- 9 core/themes/stable/templates/admin/views-ui-display-tab-bucket.html.twig
- 9 core/modules/views_ui/templates/views-ui-display-tab-bucket.html.twig
- 10 core/themes/stable9/templates/admin/views-ui-display-tab-bucket.html.twig
- 10 core/themes/claro/templates/views/views-ui-display-tab-bucket.html.twig
- 10 core/modules/views_ui/templates/views-ui-display-tab-bucket.html.twig
- 11.x core/themes/stable9/templates/admin/views-ui-display-tab-bucket.html.twig
- 11.x core/themes/claro/templates/views/views-ui-display-tab-bucket.html.twig
- 11.x core/modules/views_ui/templates/views-ui-display-tab-bucket.html.twig
Default theme implementation for each "box" on the display query edit screen.
Available variables:
- attributes: HTML attributes to apply to the container element.
- actions: Action links such as "Add", "And/Or, Rearrange" for the content.
- title: The title of the bucket, e.g. "Fields", "Filter Criteria", etc.
- content: Content items such as fields or settings in this container.
- name: The name of the bucket, e.g. "Fields", "Filter Criteria", etc.
- overridden: A boolean indicating the setting has been overridden from the default.
See also
template_preprocess_views_ui_display_tab_bucket()
File
-
core/
modules/ views_ui/ templates/ views-ui-display-tab-bucket.html.twig
View source
- {#
- /**
- * @file
- * Default theme implementation for each "box" on the display query edit screen.
- *
- * Available variables:
- * - attributes: HTML attributes to apply to the container element.
- * - actions: Action links such as "Add", "And/Or, Rearrange" for the content.
- * - title: The title of the bucket, e.g. "Fields", "Filter Criteria", etc.
- * - content: Content items such as fields or settings in this container.
- * - name: The name of the bucket, e.g. "Fields", "Filter Criteria", etc.
- * - overridden: A boolean indicating the setting has been overridden from the
- * default.
- *
- * @see template_preprocess_views_ui_display_tab_bucket()
- *
- * @ingroup themeable
- */
- #}
- {%
- set classes = [
- 'views-ui-display-tab-bucket',
- name ? name|clean_class,
- overridden ? 'overridden',
- ]
- %}
- <div{{ attributes.addClass(classes) }}>
- {% if title -%}
- <h3 class="views-ui-display-tab-bucket__title">{{ title }}</h3>
- {%- endif %}
- {% if actions -%}
- {{ actions }}
- {%- endif %}
- {{ content }}
- </div>
Related topics
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.