You are here

function commerce_checkout_commerce_order_state_info in Commerce Core 7

Implements hook_commerce_order_state_info().

File

modules/checkout/commerce_checkout.module, line 324
Enable checkout as a multi-step form with customizable pages and a simple checkout pane API.

Code

function commerce_checkout_commerce_order_state_info() {
  $order_states = array();
  $order_states['checkout'] = array(
    'name' => 'checkout',
    'title' => t('Checkout'),
    'description' => t('Orders in this state have begun but not completed the checkout process.'),
    'weight' => -3,
    'default_status' => 'checkout_' . commerce_checkout_first_checkout_page(),
  );
  return $order_states;
}