You are here

function theme_uc_addresses_default_address_checkbox in Ubercart Addresses 7

Same name and namespace in other branches
  1. 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

theme_checkbox()

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 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'];
}