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.
Add a "Label" field to the Bundle edit form. This patch is against 2.x. It looks to me like the need for this applies to the 3.x branch as well at the moment, but it may end up falling under larger configuration changes.
Comment | File | Size | Author |
---|---|---|---|
#1 | eck-edit-bundle-label-2337637-1.patch | 871 bytes | brad.bulger |
Comments
Comment #1
brad.bulger CreditAttribution: brad.bulger commentedComment #2
yannickooIt should be not possible to edit the machine readable name of a bundle? When not this works fine :)
Comment #3
brad.bulger CreditAttribution: brad.bulger commentedWell that's a separate question, there is precedent elsewhere for and against being able to edit that. I'm talking about the human-language "label" property, though. (Which does also get stored as "name", I guess, granted.) The value you're talking about is the "type" property.
Comment #4
yannickooCool :) Could you add a
check_plain
to the label?Comment #5
brad.bulger CreditAttribution: brad.bulger commentedYou mean on submit? I was going by how node module handles its "name" value. It applies check_plain() on display. You could make that change here, I suppose, but it seems outside the scope of this issue. Also, compare to how bundle_label is handled when creating a bundle.
Comment #6
yannickooOh sorry, that is totally correct. This is just the saving part, nevermind – RTBC!
Comment #8
fmizzell CreditAttribution: fmizzell commented