Module Description
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
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
Module Link
Project Usage
4747
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to solve the issue of allowing site administrators to configure default values for exposed filters on a views block display when placing the block.
Data Name
views_block_placement_exposed_form_defaults