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

klausi created an issue. See original summary.

klausi’s picture

klausi’s picture

Status: Active » Needs review
Issue tags: +DrupalBCDays
klausi’s picture

Status: Needs review » Fixed

Merged.

  • klausi committed 4b6b031 on 8.x-3.x
    Issue #2648300: Support multiple contexts in the UI
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.