Select lists in action & condition configuration forms

Created on 7 February 2016, almost 9 years ago
Updated 27 February 2023, almost 2 years ago

Update

For the latest work on this issue skip to comment #71 Select lists in action & condition configuration forms Needs work . This uses a new approach aligned with potential core enhancements in 📌 Allow definition objects to provide options Needs work . Patches 78+ here therefore also need core patch #61 https://www.drupal.org/files/issues/2020-07-24/2329937-61-options-provid... to be applied to your core code.

Original issue summary

In Rules 7.x, certain conditions and actions (such as "Show a message on the site") use select lists to allow a user to choose a value for a particular parameter/context (such as the type of message shown), and third-party modules can define the options for select lists using callback functions. It would be nice to have this functionality in 8.x as well.

I have uploaded a patch that implements this functionality (with "Show a message on the site") as an example. It certainly needs work, but hopefully it can be a starting point for something.

Feature request
Status

Needs work

Version

3.0

Component

Rules Core

Created by

🇺🇸United States Amerie

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024