Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Exposed Filter Data

Security covered Under active development 160 sites

This module allows you to display the selected values from exposed filters within a view's header or other areas. It helps users understand the criteria used to generate the current view results.

This module provides a themed function called "get_exposed_filter_output()" which print out the values of the exposed filter used in a view.
This can be useful in the view header, in case the exposed filter is in a block, but there is a need to show the user according to what filter he got the results.

The idea is based on the discussion - #658566: Use data from exposed filter in title or header.

To use this module you should:

  • Enable the module
  • Add in the relevant view's header the php
    print get_exposed_filter_output();
    
  • Theme the content in any way you like by creating your own exposed_filter_data.tpl.php
  • All of the exposed filters are available in the $exposed_filters variable inside the template file.

    The basic template is not very useful since it does not have the proper labels of the filters.

    Drupal 10–11

    Ask your assistant about Exposed Filter Data

    Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

    Depends on

    Dependencies of the latest stable release

    • views Drupal core

    Required by

    Tracked projects that depend on this one

    No tracked projects depend on this one yet.

    Activity

    Tracked releases
    1
    Tracked since
    May 2025
    Latest release
    1 year ago
    Releases (12 mo)
    0 ▼ from 1
    Maintenance
    Dormant

    Releases

    Version Type Core PHP Release date
    2.0.0 Stable 10–11 May 8, 2025