Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hello,
I have a bool field on the user entity (user account field). Let's say it's called mark_users_content_for_deletion.
How can I set a bool field to true or false?
Thanks in advance
Comment | File | Size | Author |
---|---|---|---|
#4 | boolean_value-3085888-3.patch | 4.43 KB | rensingh99 |
#3 | set_boolean_false.PNG | 316.85 KB | akshay.kelotra |
#3 | set_boolean_true.PNG | 355.95 KB | akshay.kelotra |
Comments
Comment #2
vishalkhialani CreditAttribution: vishalkhialani at Red Crackle commentedComment #3
akshay.kelotra CreditAttribution: akshay.kelotra at Red Crackle commentedI have created 2 rules which give examples of how you can set the boolean value of entity true or false.
But to help more can you please explain your requirements and we can help you build the correct rule for it.
Comment #4
rensingh99 CreditAttribution: rensingh99 at Red Crackle commentedI have made Boolean value node. Please check this patch.
Comment #5
akshay.kelotra CreditAttribution: akshay.kelotra at Red Crackle commentedI have reviewed and tested the new boolean value node. It is working fine.
Comment #6
neeravbm CreditAttribution: neeravbm at Red Crackle commentedI have merged this patch to dev branch.
Comment #8
akshay.kelotra CreditAttribution: akshay.kelotra at Red Crackle commented