Override Views Exposed Options

Categories

Component ID

2820936

Component name

Override Views Exposed Options

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Allows any exposed option in a Views display to be overridden by the block's configuration. The default Views block display plugin allows you to override the "Items per block" setting.

This module allows exposed filters and (eventually) sort option to be set via the block's configuration.

For example, your site has several content types: cats, dogs, hamsters, and birds. You want blocks on your site that list the latest entries of each animal. Instead of creating the a view with one display for each animal, you create a single display with an exposed "type" filter and set the content type in the block's configuration page.