You are here

pattern-foo-settings.html.twig in UI Patterns Settings 8.2

{% set configuration = pattern_configuration('foo_settings', '', 'config') %}
{{ dump(configuration) }}
<div style="border: 1px solid blue">
    <div class="textfield">Textfield: {{ textfield }}</div>
    <div class="number">Number: {{ number }}</div>
    <div class="token">Token: {{ token }}</div>
    <div class="boolean">Boolean: {{ boolean }}</div>
    <div class="url">Url: {{ url }}</div>
    <div class="select">Select: {{ select }}</div>
    <div class="enumeration">Enumeration: {{ enumeration }}</div>
    <div class="checkboxes">Checkboxes: {% for i in checkboxes %}  {{- i -}} {% endfor %}</div>
    <div class="attributes">Attributes: {{ attributes }}</div>
    <div class="config">Configuration: {{ configuration }}</div>
    <div class="colorwidget">Colorwidget: {{ colorwidget }}</div>
    <div class="group_sub">Group sub: {{ group_sub }}</div>
</div>
VVV {{ variant }}

File

tests/modules/ui_patterns_settings_render_test/templates/pattern-foo-settings.html.twig
View source
  1. {% set configuration = pattern_configuration('foo_settings', '', 'config') %}
  2. {{ dump(configuration) }}
  3. <div style="border: 1px solid blue">
  4. <div class="textfield">Textfield: {{ textfield }}</div>
  5. <div class="number">Number: {{ number }}</div>
  6. <div class="token">Token: {{ token }}</div>
  7. <div class="boolean">Boolean: {{ boolean }}</div>
  8. <div class="url">Url: {{ url }}</div>
  9. <div class="select">Select: {{ select }}</div>
  10. <div class="enumeration">Enumeration: {{ enumeration }}</div>
  11. <div class="checkboxes">Checkboxes: {% for i in checkboxes %} {{- i -}} {% endfor %}</div>
  12. <div class="attributes">Attributes: {{ attributes }}</div>
  13. <div class="config">Configuration: {{ configuration }}</div>
  14. <div class="colorwidget">Colorwidget: {{ colorwidget }}</div>
  15. <div class="group_sub">Group sub: {{ group_sub }}</div>
  16. </div>
  17. VVV {{ variant }}