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.
Comments, as fieldable entities, have one bundle per node type.
The 'label' for those bundles, however, is exactly the same as the node type, which leads to a confusing 'Field list' (see screenshots).
This stayed hidden before #538164: Comment body as field and #537750: Field UI for comments.
Attached patch uses t('@node_type comment', array('@node_type' => $name))
as the label.
Comment | File | Size | Author |
---|---|---|---|
#1 | comment_bundle_names_BEFORE.png | 7.1 KB | yched |
#1 | comment_bundle_names_AFTER.png | 6.58 KB | yched |
comment_bundle_names_BEFORE.png | 7.1 KB | yched | |
comment_bundle_names_BEFORE.png | 7.1 KB | yched | |
comment_bundle_names.patch | 829 bytes | yched | |
Comments
Comment #1
yched CreditAttribution: yched commentedEr, I messed the screenshots uploads. Try again.
Comment #2
yched CreditAttribution: yched commentedeasier tracking
Comment #3
sunLooks good to me. Tried to think of alternative labels, but couldn't think of something else that doesn't turn into a full sentence ;)
Comment #4
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks.