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.
I have cloned the default option and got the machine name as "clone_of_default". When I renamed it to something else and saved, it won't change. The machine name is always shows as "clone_of_default"
Comment | File | Size | Author |
---|---|---|---|
#3 | optionset_name-2111201-3.patch | 451 bytes | plopesc |
Comments
Comment #1
minorOffense CreditAttribution: minorOffense commentedThat's a ctools thing. Nothing I can do about it. Best way would be to export it and rename it in code.
Comment #2
abx CreditAttribution: abx commentedThanks
Comment #3
plopescHello
Although you can't edit the the optionset machine name, the name textfield can be editable, so it is a bit annoying for users, given that they can edit the textfield, but changes are not stored.
So, I propose mark as disabled the machine name textfield when you're editing the optionset. With this change, users are aware of they can't edit the machine name.
Thank you!
Comment #4
plopescComment #5
jenlamptonThis looks like a good marginal improvement. It would be nice if we filed an issue against ctools too, so that a new machine name could be chosen when cloning items.
Comment #6
minorOffense CreditAttribution: minorOffense commentedMakes sense to me. I'll include this in the next release.
Comment #8
minorOffense CreditAttribution: minorOffense commented