views-ui-display-tab-setting.html.twig

Default theme implementation for Views UI display tab settings.

Template for each row inside the "boxes" on the display query edit screen.

Available variables:

  • attributes: HTML attributes such as class for the container.
  • description: The description or label for this setting.
  • settings_links: A list of links for this setting.

See also

template_preprocess()

template_preprocess_views_ui_display_tab_setting()

2 theme calls to views-ui-display-tab-setting.html.twig
ViewEditFormController::getDisplayDetails in drupal/core/modules/views_ui/lib/Drupal/views_ui/ViewEditFormController.php
Helper function to get the display details section of the edit UI.
ViewEditFormController::getFormBucket in drupal/core/modules/views_ui/lib/Drupal/views_ui/ViewEditFormController.php
Add information about a section to a display.

File

drupal/core/modules/views_ui/templates/views-ui-display-tab-setting.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for Views UI display tab settings.
  5. *
  6. * Template for each row inside the "boxes" on the display query edit screen.
  7. *
  8. * Available variables:
  9. * - attributes: HTML attributes such as class for the container.
  10. * - description: The description or label for this setting.
  11. * - settings_links: A list of links for this setting.
  12. *
  13. * @see template_preprocess()
  14. * @see template_preprocess_views_ui_display_tab_setting()
  15. *
  16. * @ingroup themeable
  17. */
  18. #}
  19. <div{{ attributes }}>
  20. {% if description -%}
  21. <span class="label">{{ description }}</span>
  22. {%- endif %}
  23. {% if settings_links %}
  24. {{ settings_links|join('<span class="label">&nbsp;|&nbsp;</span>') }}
  25. {% endif %}
  26. </div>

Related topics