You are here

function theme_uc_addresses_default_address_checkbox in Ubercart Addresses 6.2

Same name and namespace in other branches
  1. 7 uc_addresses.module \theme_uc_addresses_default_address_checkbox()

Theme the default address checkbox in address forms.

Parameters

array $element: The form field element.

Return value

string A rendered checkbox form field.

1 theme call to theme_uc_addresses_default_address_checkbox()
UcAddressesDefaultAddressFieldHandler::getFormField in handlers/uc_addresses.handlers.inc
Implements UcAddressesFieldHandler::getFormField().

File

./uc_addresses.module, line 1438
Adds user profile address support to Ubercart.

Code

function theme_uc_addresses_default_address_checkbox($element) {
  return theme('checkbox', $element) . ' ' . $element['#uc_addresses_default_address_suffix'];
}