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.
these functions should look as much as possible like their singular equivalents.
Comment | File | Size | Author |
---|---|---|---|
form_attributes.patch | 2.44 KB | moshe weitzman | |
Comments
Comment #1
Kjartan CreditAttribution: Kjartan commentedComment #2
asimmonds CreditAttribution: asimmonds commentedShould the required and attributes parameter order be the same as the singular functions?
ie, with this patch:
function form_radio(... $attributes = NULL, $required = FALSE) {
function form_radios(... $required = FALSE, $attributes = NULL) {
Is is a good idea to change the api, or will it break too many things?
Comment #3
(not verified) CreditAttribution: commented