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.
Problem/Motivation
Setting the field cardinality to 2 and selecting 3 roles will lead to an error. This is expected, but there is no information, on how many roles can be picked, based on the cardinality of the field.
Steps to reproduce
Proposed resolution
Give an information about how many roles can be selected.
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#3 | 2023-05-30 16_27_37-Edit Article sdadasdasd _ Drush Site-Install.png | 9.97 KB | Grevil |
Issue fork entity_access_by_role_field-3363577
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
Grevil CreditAttribution: Grevil as a volunteer and at DROWL.de commentedDone, please review! I am still not 100% sure about the "unlimited" case, but any other approach doesn't seem very good either. See screenshot:
Please review!
Comment #4
AnybodySorry, but this is at the wrong field. Has to be suffixed at the "When the user has the following roles:"-field.
Comment #5
AnybodyBut we could use this change to make both variables emphasized (
<em>
) via%
instead of@
:@operations
=>%operations
@cardinality
=>%cardinality
(remove the manual
<em>
)Comment #6
AnybodyComment #7
Grevil CreditAttribution: Grevil as a volunteer and at DROWL.de commentedOk done, please rereview.
Comment #8
AnybodyRTBC! :)
Comment #10
AnybodyMerged!
Comment #11
Grevil CreditAttribution: Grevil as a volunteer and at DROWL.de commented