Default theme implementation of a views exposed form.
Available variables:
- widgets: A list of exposed form widgets. Each widget contains:
- label: The sanitized label of the widget.
- id: The ID of the widget, if available.
- operator: The select element for the operator widget.
- description: The sanitized description of the widget.
- widget: The widget itself.
- index: the widget's row index.
- form: A render element representing the form.
- sort_by: An optional select element to sort the view by fields.
- sort_order: An optional select element with ascending or
descending order options.
- items_per_page: An optional select element for the available items per
page.
- offset: An optional textfield to define the offset of the view.
- reset_button: An optional button to reset the exposed filter applied.
See also
template_preprocess()
template_preprocess_views_exposed_form()
File
drupal/core/modules/views/templates/views-exposed-form.html.twig
Related topics