You are here

function commerce_customer_profile_types_reset in Commerce Core 7

Resets the cached list of customer profile types.

1 call to commerce_customer_profile_types_reset()
commerce_customer_configure_customer_fields in modules/customer/commerce_customer.module
Configures fields referencing customer profile types defined by enabled modules and configures the fields on those profile types if necessary.

File

modules/customer/commerce_customer.module, line 512
Defines the customer profile entity and API functions to manage customers and interact with them.

Code

function commerce_customer_profile_types_reset() {
  $profile_types =& drupal_static('commerce_customer_profile_types');
  $profile_types = NULL;
  entity_info_cache_clear();
}