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

Same filename in this branch
  1. 8.9.x core/modules/views_ui/templates/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. 10 core/themes/stable9/templates/admin/views-ui-rearrange-filter-form.html.twig
  5. 10 core/modules/views_ui/templates/views-ui-rearrange-filter-form.html.twig
  6. 11.x core/themes/stable9/templates/admin/views-ui-rearrange-filter-form.html.twig
  7. 11.x core/modules/views_ui/templates/views-ui-rearrange-filter-form.html.twig

Theme override 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/themes/stable/templates/admin/views-ui-rearrange-filter-form.html.twig

View source
  1. {#
  2. /**
  3. * @file
  4. * Theme override 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. #}
  15. {{ form.override }}
  16. <div class="scroll" data-drupal-views-scroll>
  17. {% if grouping %}
  18. {{ form.filter_groups.operator }}
  19. {% else %}
  20. {{ form.filter_groups.groups.0 }}
  21. {% endif %}
  22. {{ ungroupable_table }}
  23. {{ table }}
  24. </div>
  25. {{ form|without('override', 'filter_groups', 'remove_groups', 'filters') }}

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