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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

willmoy’s picture

New patch. Shouldn't have copy/pasted the phpdoc wording so carelessly...

Dries’s picture

Committed to HEAD. Thanks.

Anonymous’s picture