these functions should look as much as possible like their singular equivalents.

CommentFileSizeAuthor
form_attributes.patch2.44 KBmoshe weitzman
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Kjartan’s picture

asimmonds’s picture

Should 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?

Anonymous’s picture