views-ui-rearrange-filter-form.html.twig

Same filename in this branch
  1. 11.x core/themes/stable9/templates/admin/views-ui-rearrange-filter-form.html.twig
Same filename in other branches
  1. 9 core/themes/stable9/templates/admin/views-ui-rearrange-filter-form.html.twig
  2. 9 core/themes/stable/templates/admin/views-ui-rearrange-filter-form.html.twig
  3. 9 core/modules/views_ui/templates/views-ui-rearrange-filter-form.html.twig
  4. 8.9.x core/themes/stable/templates/admin/views-ui-rearrange-filter-form.html.twig
  5. 8.9.x core/modules/views_ui/templates/views-ui-rearrange-filter-form.html.twig
  6. 10 core/themes/stable9/templates/admin/views-ui-rearrange-filter-form.html.twig
  7. 10 core/modules/views_ui/templates/views-ui-rearrange-filter-form.html.twig

Default theme implementation for Views UI rearrange filter form.

Available variables:

  • form: A render element representing the form.
  • grouping: A flag whether or not there is more than one group.
  • ungroupable_table: The ungroupable filter table.
  • table: The groupable filter table.

See also

template_preprocess_views_ui_rearrange_filter_form()

File

core/modules/views_ui/templates/views-ui-rearrange-filter-form.html.twig

View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for Views UI rearrange filter form.
  5. *
  6. * Available variables:
  7. * - form: A render element representing the form.
  8. * - grouping: A flag whether or not there is more than one group.
  9. * - ungroupable_table: The ungroupable filter table.
  10. * - table: The groupable filter table.
  11. *
  12. * @see template_preprocess_views_ui_rearrange_filter_form()
  13. *
  14. * @ingroup themeable
  15. */
  16. #}
  17. {{ form.override }}
  18. <div class="scroll" data-drupal-views-scroll>
  19. {% if grouping %}
  20. {{ form.filter_groups.operator }}
  21. {% else %}
  22. {{ form.filter_groups.groups.0 }}
  23. {% endif %}
  24. {{ ungroupable_table }}
  25. {{ table }}
  26. </div>
  27. {{ form|without('override', 'filter_groups', 'remove_groups', 'filters') }}

Related topics


Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.