Skip to content
Robert J. Lang edited this page Jan 24, 2022 · 12 revisions

Rules are reconfigurable micro-programs that can run at the click of a button or as a reaction upon any detected situation. Site builders and module developers can configure various actions and control sequences that will then be fired in simple or complex sequences.

Rules can react immediately or be scheduled to run in the future. Large operations and those that make sense to background can also be queued using the Rules Scheduler. Another existing approach is to use Views Bulk Operations' Queue API integrations.

The Rules project includes:

  • A rule-based, event-driven, action evaluation engine
  • Extensible data type support and data lists support
  • Wrappers for Drupal's hooks as actions, conditions, and events
  • A general configuration interface, the Rules Admin UI
  • An API for building forms by exposing user-configured/controlled rules

Upgrading Rules from Drupal 7

If you are upgrading a site to Backdrop from Drupal 7 that includes Rules, there are some extra steps you should take before starting the migration.

Configuring Rules through the UI

If the Rules UI module is enabled, you can configure the rules at:
Administration » Configuration » Workflow » Rules (/admin/config/workflow/rules).
If you've just installed Rules UI and don't see it there, be sure to clear your caches.

Read more

Project page: https://backdropcms.org/project/rules