Mercurial > hg > cmmr2012-drupal-site
annotate core/modules/views_ui/templates/views-ui-display-tab-setting.html.twig @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
| author | Chris Cannam |
|---|---|
| date | Thu, 09 May 2019 15:34:47 +0100 |
| parents | c75dbcec494b |
| children |
| rev | line source |
|---|---|
| Chris@0 | 1 {# |
| Chris@0 | 2 /** |
| Chris@0 | 3 * @file |
| Chris@0 | 4 * Default theme implementation for Views UI display tab settings. |
| Chris@0 | 5 * |
| Chris@0 | 6 * Template for each row inside the "boxes" on the display query edit screen. |
| Chris@0 | 7 * |
| Chris@0 | 8 * Available variables: |
| Chris@0 | 9 * - attributes: HTML attributes such as class for the container. |
| Chris@0 | 10 * - description: The description or label for this setting. |
| Chris@0 | 11 * - settings_links: A list of links for this setting. |
| Chris@0 | 12 * - defaulted: A boolean indicating the setting is in its default state. |
| Chris@0 | 13 * - overridden: A boolean indicating the setting has been overridden from the |
| Chris@0 | 14 * default. |
| Chris@0 | 15 * |
| Chris@0 | 16 * @see template_preprocess_views_ui_display_tab_setting() |
| Chris@0 | 17 * |
| Chris@0 | 18 * @ingroup themeable |
| Chris@0 | 19 */ |
| Chris@0 | 20 #} |
| Chris@0 | 21 {% |
| Chris@0 | 22 set classes = [ |
| Chris@0 | 23 'views-display-setting', |
| Chris@0 | 24 'clearfix', |
| Chris@0 | 25 'views-ui-display-tab-setting', |
| Chris@0 | 26 defaulted ? 'defaulted', |
| Chris@0 | 27 overridden ? 'overridden', |
| Chris@0 | 28 ] |
| Chris@0 | 29 %} |
| Chris@0 | 30 <div{{ attributes.addClass(classes) }}> |
| Chris@0 | 31 {% if description -%} |
| Chris@0 | 32 <span class="label">{{ description }}</span> |
| Chris@0 | 33 {%- endif %} |
| Chris@0 | 34 {% if settings_links %} |
| Chris@0 | 35 {{ settings_links|safe_join('<span class="label"> | </span>') }} |
| Chris@0 | 36 {% endif %} |
| Chris@0 | 37 </div> |
