W3cubDocs

/Drupal 8

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

Default theme implementation for exposed filter form.

Available variables:

  • 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.
  • required: A checkbox to require this filter or not.
  • label: A filter label input field.
  • description: A filter description field.
  • operator: The operators for how the filters value should be treated.
    • #type: The operator type.
  • value: The filters available values.
  • use_operator: Checkbox to allow the user to expose the operator.
  • more: A details element for additional field exposed filter fields.

File

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

Related topics

Theme system overview
Functions and templates for the user interface that themes can override.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!views_ui!templates!views-ui-expose-filter-form.html.twig/8.1.x