Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Request data conditions

Security covered Maintenance fixes only 172 sites

This module provides conditions for Drupal that are based on HTTP request data, allowing you to trigger actions based on cookies, HTTP headers, query parameters, or session data. You can specify the name, operator, and value to match for each condition.

This module defines a set of conditions via the Drupal 8 Conditions Plugin API for use with the context module (and others). All conditions are based on the HTTP request data and are
as follows:

- Cookie
- HTTP header
- Query parameters (Ie.: ?param=something )
- Session data

The conditions will be available for use by modules such as Context:
https://www.drupal.org/project/context

All conditions added by the module (Headers, Session, Query parameters,
Cookies) have the same fields available:
- The name of the of cookie, paramaters, header, session variable
- the operator to search on ("must equal", "regular expressio", etc)
- the value to match by

Maintained by

https://www.drupal.org/u/clivelinsell
https://www.drupal.org/u/rjjakes
https://www.drupal.org/u/flocondetoile
https://www.drupal.org/u/jacobbell84

Ask your assistant about Request data conditions

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
2
Tracked since
Jul 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Active

Releases

Version Type Core PHP Release date
8.x-1.0-beta3 Pre-release 9–11 May 5, 2025
8.x-1.0-beta2 Pre-release 9–10 Jul 28, 2023