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.

See also

template_preprocess()

template_preprocess_views_ui_display_tab_bucket()

File

drupal/core/modules/views_ui/templates/views-ui-display-tab-bucket.html.twig
View source
  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. *
  12. * @see template_preprocess()
  13. * @see template_preprocess_views_ui_display_tab_bucket()
  14. *
  15. * @ingroup themeable
  16. */
  17. #}
  18. <div{{ attributes }}>
  19. {% if title -%}
  20. <h3>{{ title }}</h3>
  21. {%- endif %}
  22. {{ content }}
  23. {% if actions -%}
  24. {{ actions }}
  25. {%- endif %}
  26. </div>

Related topics