You are here

function uc_addresses_address_types in Ubercart Addresses 7

Same name and namespace in other branches
  1. 6.2 uc_addresses.module \uc_addresses_address_types()

Returns address types used in addresses from Ubercart Addresses.

Return value

array The address types used by Ubercart Addresses.

6 calls to uc_addresses_address_types()
UcAddressesAddress::save in class/UcAddressesAddress.class.php
Saves address if address is marked as 'dirty'.
UcAddressesCartCheckoutTestCase::doDefaultAddressesTests in tests/uc_addresses.checkout.test
Checkout with the default addresses.
UcAddressesCartCheckoutTestCase::testDefaultAddresses in tests/uc_addresses.checkout.test
Test if the address fields are prefilled with the customer's default addresses.
uc_addresses_feeds_after_import in ./uc_addresses.feeds.inc
Implements hook_feeds_after_import().
uc_addresses_uc_checkout_complete in ./uc_addresses.module
Implements hook_uc_checkout_complete().

... See full list

1 string reference to 'uc_addresses_address_types'
UcAddressesAddress::save in class/UcAddressesAddress.class.php
Saves address if address is marked as 'dirty'.

File

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

Code

function uc_addresses_address_types() {
  return array(
    'shipping',
    'billing',
  );
}