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.
This patch makes form_group accept an array of HTML attributes, which will in turn allow fieldsets to have class and id defined.
This will help theming, and was motivated by the problem of theming the node_privacy_by_role checkboxes for view and edit permissions for each role.
Comment | File | Size | Author |
---|---|---|---|
#1 | form_group_attributes_0.patch | 1.19 KB | willmoy |
form_group_attributes.patch | 1.18 KB | willmoy | |
Comments
Comment #1
willmoy CreditAttribution: willmoy commentedNew patch. Shouldn't have copy/pasted the phpdoc wording so carelessly...
Comment #2
Dries CreditAttribution: Dries commentedCommitted to HEAD. Thanks.
Comment #3
(not verified) CreditAttribution: commented