You are here

function commerce_order_modules_enabled in Commerce Core 7

Implements hook_modules_enabled().

File

modules/order/commerce_order.module, line 140
Defines the core Commerce order entity and API functions to manage orders and interact with them.

Code

function commerce_order_modules_enabled($modules) {
  commerce_order_configure_order_fields($modules);

  // Reset the order state and status static caches in case a newly enabled
  // module has provided new states or statuses.
  commerce_order_states_reset();
  commerce_order_statuses_reset();
}