views_block_placement_exposed_form_defaults
1,287 sites
Security covered
This module allows you to configure which exposed filters on a views block display should be configurable as default values by the site administrator when placing the block.
Enabling a filter to be configurable looks like:
And then the exposed filter will be available and saved into the block placement configuration, to be used as a default value when rendering the exposed form:
This is helpful in a scenario such as:
- You created a blog feature.
- You would like site admins to be able to embed the blog into layout builder.
- The site admin should be able to pre-configure the blog and assign a set of filters on them, eg "embed the blog, but only the 'fitness' tagged blog posts".
Known issues
You need this core patch if you use AJAX for the view #2605218: Views Block Display skips preBlockBuild() call on ajax rebuild