Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Right now we always show "Save" and "Save and make default". The latter button doesn't make sense when the profile type does not support multiple profiles, nor when it is the first profile of the type if multiple are supported.
Comment | File | Size | Author |
---|---|---|---|
#12 | only_show_save-2799669-12.patch | 4.71 KB | mglaman |
#9 | only_show_save-2799669-9.patch | 3.82 KB | mglaman |
#3 | only_show_save-2799669-3.patch | 3.87 KB | mglaman |
Create_Billing___Site-Install.png | 127.39 KB | mglaman |
Comments
Comment #2
mglamanComment #3
mglamanOnly shows "Save" when the profile is new, or multiple is not supported (and sets default.) When multiple supported, shows "Save and make default" when there is an existing profile and the current (if edit) is not default.
Comment #6
mglamanTest runner borked out.
Comment #9
mglamanOops, forgot a var_dump from debug. Maybe that's why?
Comment #12
mglamanFix last test
Comment #14
mglaman