function hook_commerce_customer_profile_type_info_alter in Commerce Core 7
Allows modules to alter customer profile types defined by other modules.
Parameters
$profile_types: The array of customer profile types defined by enabled modules.
See also
hook_commerce_customer_profile_type_info()
1 invocation of hook_commerce_customer_profile_type_info_alter()
- commerce_customer_profile_types in modules/
customer/ commerce_customer.module - Returns an array of customer profile type arrays keyed by type.
File
- modules/
customer/ commerce_customer.api.php, line 69 - Hooks provided by the Customer module.
Code
function hook_commerce_customer_profile_type_info_alter(&$profile_types) {
$profile_types['billing']['description'] = t('New description for billing profile type');
}