Theme functions theme_radios()
and theme_checkboxes()
have been removed in favor of the identical function theme_container()
.
Specific markup for radios and checkboxes can be achieved by using theme hook suggestions for the theme_container()
function. See examples below.
Examples
Calling theme functions, before: theme('radios', $variables);
theme('checkboxes', $variables);
theme('container__radios', $variables);
theme('container__checkboxes', $variables);
function theme_radios($variables) {
...
}
function theme_checkboxes($variables) {
...
}
function theme_container__radios($variables) {
...
}
function theme_container__checkboxes($variables) {
...
}
Introduced in branch:
1.0.x
Introduced in version:
1.0.0
Impacts:
Module developers
Theme developers
Related Github Issues: