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.
Hi,
for my current project, i need to display labels above html element field groups. With this functionality, its very easy to group the output of fields together and display them as "one field" while keeping the full power of display suite intact. (In contrast to a solution with tokens)
Patch is attached, its now possible to display labels and the label element is also configureable.
Best regards,
axe312
Comment | File | Size | Author |
---|---|---|---|
html-wrapper-labels.patch.patch | 4.28 KB | axe312 |
Comments
Comment #1
yannickooPatch looks good and works like the label functionality in other field group types. I think that the killed two whitespaces are totally okay.
Next time you should give your patch a better name like
[project_name]-[short-description]-[issue-number]-[comment-number].patch
.Thank you for the patch :)
Comment #2
nils.destoop CreditAttribution: nils.destoop commentedThx for the patch. This was committed to dev. However, i changed the label markup a bit so it's equal to the div group type
Comment #3
nils.destoop CreditAttribution: nils.destoop commentedComment #7
nils.destoop CreditAttribution: nils.destoop commented