drupal-eca-recipe/eca_lib_0002

Combined Conditions

Installs: 22

Dependents: 0

Suggesters: 0

Security: 0

Type:drupal-recipe

3.1.1 2025-08-03 11:21 UTC

This package is auto-updated.

Last update: 2025-08-03 11:24:36 UTC


README

ID: eca_lib_0002

This means:

  • event 1: action "do something" is executed if condition 1 and condition 2 are both TRUE
  • event 2: do something is executed when condition 3 or condition 4 is TRUE
  • event 3: do something is executed when condition 5 or 6 AND condition 7 or 8 are TRUE

With that pattern, you can achieve all possible combinations of AND and OR conditions

Installation

## Import recipe
composer require drupal-eca-recipe/eca_lib_0002

# Apply recipe with Drush (requires version 13 or later):
drush recipe ../recipes/{{ rawid }}

# Apply recipe without Drush:
cd web && php core/scripts/drupal recipe ../recipes/eca_lib_0002

# Rebuilding caches is optional, sometimes required:
drush cr