Arguments and exposed filters¶
Contextual filters in the dialog¶
After choosing a display, the dialog lists its contextual filters in order. For each one:
- The label is the field label when the field is used by a single bundle. Otherwise it is the field's own label or the argument handler label.
- Entity reference arguments use autocomplete. This covers taxonomy terms, taxonomy terms with depth, content and users.
- The description comes from the field or argument definition.
Leave an argument empty to let the view use its default argument or exception behaviour. When some arguments are empty, the filter builds the missing ones the way Views does for a page: default argument plugins run and are applied.
Multiple values¶
Entity autocomplete arguments accept several values separated by a comma. The dialog then asks how to combine them:
| Choice | Stored separator | Meaning |
|---|---|---|
| Match any of the values (OR) | + |
Any value matches. |
| Match all of the values (AND) | , |
All values must match. |
Other argument types take the separators typed by hand: + for OR, , for AND. The view argument must have Allow multiple values enabled for this to work.
Exclude¶
When the contextual filter in the view is configured with Exclude, the dialog adds (Exclude this items) to the argument title. The exclusion itself comes from the view's configuration.
Hiding the arguments section¶
Tick Hide views arguments in the filter settings to remove the section. The stored arguments are ignored at render time as well, even when the token or element contains them.
Exposed filters¶
Views with exposed filters work inside embedded content.
- The exposed form submits to the current page, not to the view's own path, so visitors stay on the page that embeds the view.
- The reset button is handled with a small JavaScript redirect (
insert_view_adv/reset_redirect) to the current path. A server-side redirect cannot happen while a placeholder renders.