You are here

function uc_addresses_order_address_types in Ubercart Addresses 7

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

2 calls 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.
uc_addresses_order_attach_addresses in ./uc_addresses.module
Attaches UcAddressesAddress instances to the order.

File

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

Code

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