-
Notifications
You must be signed in to change notification settings - Fork 132
Pass membership data in form_state for roles add/remove form. #750
Pass membership data in form_state for roles add/remove form. #750
Conversation
I think a better solution is what you proposed in #749
|
Implementing this wouldn't be possible because of use of actions to add/remove roles. This is a problem for our proposed implementation because of 2 reasons:
I tried to find other modules where something similar was set up in hope I might find a way. But even in other modules (views_bulk_edit for example) tempstore is used. That unfortunately leaves us with the fallback of passing membership data from form build to form alter for people to be able to use it. In conclusion: I ended up spending way too much time only to end up with disappointment 😅 |
Having it in the form_state then would be fine 👍 |
@dipakmdhrm this needs more work |
Added examples in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still WIP?
Co-authored-by: Amitai Burstein <[email protected]>
Co-authored-by: Amitai Burstein <[email protected]>
@dipakmdhrm can you please work on a PR to fix the Travis errors (against the |
399b490
to
92a57ab
Compare
|
Since https://www.drupal.org/project/og/issues/3467694 was merged into the Thank you for contributing to Organic groups module. |
#749