Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Conditions Helper

Security covered Under active development 641 sites

The Conditions Helper module provides developers with tools to easily integrate the Drupal Conditions API into their own modules. It simplifies the process of creating user interfaces for users to select and configure conditions, and for modules to evaluate those conditions.

The Conditions Helper module is an API-only module designed to simplify the
integration and utilization of Drupal Core's Conditions API for developers.
It provides a set of services and base classes to reduce boilerplate and
complexity when adding condition-based logic to other modules.

This module does not provide any UI or end-user features on its own. Instead,
it empowers other modules to easily build UIs for selecting and configuring
conditions, and to evaluate these conditions in their own specific contexts.

The primary goal of this module is to make it easier for developers to:

- Create settings forms where administrators can select which Condition plugins
are relevant or available for a specific feature.
- Build forms where users can configure instances of these selected Condition
plugins (including context mapping for context-aware conditions).
- Evaluate a set of configured conditions to control access, visibility, or
other conditional logic within their modules.

Contrib Modules Using This API:
- Entity Type Access Conditions
- Field Visibility Conditions
- Layout Builder Styles: Conditions
- Views Access Conditions

Drupal 10–11

Ask your assistant about Conditions Helper

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

4 tracked projects depend on this one

Activity

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

Releases

Version Type Core PHP Release date
1.0.1 Stable 10–11 May 24, 2025
1.0.0 Stable 10–11 May 16, 2025