views-ui-build-group-filter-form.html.twig
Same filename in this branch
Same filename in other branches
- 9 core/themes/stable9/templates/admin/views-ui-build-group-filter-form.html.twig
- 9 core/themes/claro/templates/views/views-ui-build-group-filter-form.html.twig
- 9 core/themes/stable/templates/admin/views-ui-build-group-filter-form.html.twig
- 9 core/modules/views_ui/templates/views-ui-build-group-filter-form.html.twig
- 8.9.x core/themes/stable/templates/admin/views-ui-build-group-filter-form.html.twig
- 8.9.x core/modules/views_ui/templates/views-ui-build-group-filter-form.html.twig
- 11.x core/themes/stable9/templates/admin/views-ui-build-group-filter-form.html.twig
- 11.x core/themes/claro/templates/views/views-ui-build-group-filter-form.html.twig
- 11.x core/modules/views_ui/templates/views-ui-build-group-filter-form.html.twig
Theme override for Views UI build group filter form.
Available variables:
- form: A render element representing the form. Contains the following:
- form_description: The exposed filter's description.
- expose_button: The button to toggle the expose filter form.
- group_button: Toggle options between single and grouped filters.
- label: A filter label input field.
- description: A filter description field.
- value: The filters available values.
- optional: A checkbox to require this filter or not.
- remember: A checkbox to remember selected filter value(s) (per user).
- widget: Radio Buttons to select the filter widget.
- add_group: A button to add another row to the table.
- more: A details element for additional field exposed filter fields.
- table: A rendered table element of the group filter form.
See also
template_preprocess_views_ui_build_group_filter_form()
File
-
core/
themes/ claro/ templates/ views/ views-ui-build-group-filter-form.html.twig
View source
- {#
- /**
- * @file
- * Theme override for Views UI build group filter form.
- *
- * Available variables:
- * - form: A render element representing the form. Contains the following:
- * - form_description: The exposed filter's description.
- * - expose_button: The button to toggle the expose filter form.
- * - group_button: Toggle options between single and grouped filters.
- * - label: A filter label input field.
- * - description: A filter description field.
- * - value: The filters available values.
- * - optional: A checkbox to require this filter or not.
- * - remember: A checkbox to remember selected filter value(s) (per user).
- * - widget: Radio Buttons to select the filter widget.
- * - add_group: A button to add another row to the table.
- * - more: A details element for additional field exposed filter fields.
- * - table: A rendered table element of the group filter form.
- *
- * @see template_preprocess_views_ui_build_group_filter_form()
- *
- * @ingroup themeable
- */
- #}
- {{ form.form_description }}
- {{ form.expose_button }}
- {{ form.group_button }}
- <div class="views-config-group-region">
- <div class="views-group-box">
- {{ form.optional }}
- {{ form.remember }}
- </div>
- <div class="views-group-box">
- {{ form.widget }}
- {{ form.label }}
- {{ form.description }}
- </div>
- </div>
- {#
- Render the rest of the form elements excluding elements that are rendered
- elsewhere.
- #}
- {{ form|without(
- 'form_description',
- 'expose_button',
- 'group_button',
- 'optional',
- 'remember',
- 'widget',
- 'label',
- 'description',
- 'add_group',
- 'more'
- )
- }}
- {{ table }}
- {{ form.add_group }}
- {{ form.more }}
Related topics
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.