Documentation Level: 
Intermediate
Documentation Status: 
No known problems

Rules extends Entity API and provides uniform access to Backdrop's data types and instances.

By using pluggable wrappers for data types and properties, as well as its mechanics for executions (events, conditions, actions, logic operations), Rules provides a comprehensive approach for building (re)configurable programs.

For example, in Rules's Admin UI, data from diverse set of resources is presented in a clean, yet rich interface, for programmers of all skill levels to extend Backdrop.

This section describes how to work with data.

 

Availability of Data in Rules

Note to developers: See also the Developer Docs page on Data types for using hook_rules_data_info().

Data Objects

Rules extends Entity API and provides uniform access to Backdrop's data types and instances.

Field of a referenced, referenced entity - worked example

Having read the comments on the link from the Rules UI (the parent to this page), I thought I'd take a moment to document what's taken me

Lists

Lists are collections of data objects that can be operated over in a loop. Any group of data items can be treated as a list, for example

Operations

Rules has many features for calculations, conversions, & transformations with support for complex logic on several data types. This can be

Selection

By default, Rules includes a direct input and a data selection interface.