function theme_uc_addresses_default_address_checkbox in Ubercart Addresses 7
Same name and namespace in other branches
- 6.2 uc_addresses.module \theme_uc_addresses_default_address_checkbox()
Theme the default address checkbox in address forms.
Parameters
array $variables: An associative array containing:
- element: An associative array containing the properties of the element.
Return value
string A rendered checkbox form field.
See also
1 theme call to theme_uc_addresses_default_address_checkbox()
File
- ./
uc_addresses.module, line 1845 - Adds user profile address support to Ubercart.
Code
function theme_uc_addresses_default_address_checkbox($variables) {
return theme('checkbox', $variables) . ' ' . $variables['element']['#uc_addresses_default_address_suffix'];
}