You are here

function uc_addresses_order_address_types in Ubercart Addresses 6.2

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

Returns address types used in the Ubercart order object.

Return value

array The address types used in the Ubercart order.

1 call to uc_addresses_order_address_types()
UcAddressesCartCheckoutTestCase::testCheckoutWithPreviousOrders in tests/uc_addresses.checkout.test
Test if checkout works when customer has previous placed orders, but no addresses in the address book.

File

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

Code

function uc_addresses_order_address_types() {
  return array(
    'delivery',
    'billing',
  );
}