Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Currently we only use a simple textfield for contexts in conditions and actions. Conditions such as the UserHasRole condition have their Roles context defined as multiple, which means the user should specify more than one value in a text field. A default implementation could just display a textarea where one line is one item in the list.
We will also need an option callback for the list of roles, but that is a separate issue.
Comments
Comment #2
klausiComment #3
klausiSee https://github.com/fago/rules/pull/440
Comment #4
klausiMerged.