Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Request Parameter Condition

Security covered Maintenance fixes only 22 sites

This module adds a condition that allows you to conditionally display content or apply logic based on the presence or absence of specific parameters in the website's URL. This is useful for controlling block visibility or other dynamic behaviors depending on user-provided search terms or filters.

Tools like Views, Search API, Facets, and more rely on request parameters to process specific types of input. But, this functionality is often limited to whatever the tool itself provides.

One limitation we encountered was the ability to conditionally render logic based on request parameters.

For instance, I may want to display a block conditionally if a page does not have a query parameter "search". This use case works well with the Block Visibility Groups module, except we need a condition for processing these parameters from the request.

As such, this module provides a condition to process parameters found in a request.

Drupal 10–11

Ask your assistant about Request Parameter Condition

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

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Jan 2023
Latest release
5 months ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
3.0.0 Stable 10–11 May 27, 2026
3.0.0-rc1 Pre-release 10–11 May 13, 2026
3.0.x-dev Dev 10–11 May 13, 2026
8.x-2.3 Stable 8–10 Jan 22, 2023