function commerce_customer_configure_customer_types in Commerce Core 7
Configures customer profile types defined by enabled modules.
1 call to commerce_customer_configure_customer_types()
- commerce_customer_enable in modules/
customer/ commerce_customer.module - Implements hook_enable().
File
- modules/
customer/ commerce_customer.module, line 189 - Defines the customer profile entity and API functions to manage customers and interact with them.
Code
function commerce_customer_configure_customer_types() {
foreach (commerce_customer_profile_types() as $type => $profile_type) {
commerce_customer_configure_customer_profile_type($profile_type);
}
}