You are here

function commerce_shipping_commerce_customer_profile_type_info in Commerce Shipping 7

Same name and namespace in other branches
  1. 7.2 commerce_shipping.module \commerce_shipping_commerce_customer_profile_type_info()

Implements hook_commerce_customer_profile_type_info().

2 calls to commerce_shipping_commerce_customer_profile_type_info()
commerce_shipping_update_7000 in ./commerce_shipping.install
Add address field for the commerce_shipping customer profile.
commerce_shipping_update_7001 in ./commerce_shipping.install
Add default profile reference field on order if needed

File

./commerce_shipping.module, line 62
Defines the shipping system and checkout integration.

Code

function commerce_shipping_commerce_customer_profile_type_info() {
  $profile_types = array();
  $profile_types['shipping'] = array(
    'type' => 'shipping',
    'name' => t('Shipping information'),
    'description' => t('The profile used to collect shipping information on the checkout and order forms.'),
  );
  return $profile_types;
}