Request data conditions
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
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
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 8.x-1.0-beta3 | Pre-release | 9–11 | May 5, 2025 |