Advertising sustains the DA. Ads are hidden for members. Join today

Contributed module documentation

If Then Else

The "If Then Else" module provides a graphical user interface to set different rules which can work as a replacement of programmatic hook-based approach to add custom actions on different hooks and events.

The goal of this module is to provide site builders with an easy-to-use interface to build rules (code snippets) based on different events, conditions, and actions.

The benefit of doing this to allow site builders to build sites faster with custom rules they can build.

Configuration

Set up If Then Else rule configurations.

Installation

Use Composer to install the "If Then Else" module

What Is an "If Then Else" Rule?

An "IF Then Else" rule consists of a graphic diagram with nodes (boxes) whose outputs are connected to inputs of other nodes.

Creating and Editing "If Then Else" Rules

Using the "If Then Else" graphical editor to configure your rule

"If Then Else" Examples

Example of the "If Then Else" modules

Guide maintainers

margyly's picture