You are here

function commerce_recurring_commerce_order_status_info in Commerce Recurring Framework 7.2

Implements hook_commerce_order_status_info().

File

./commerce_recurring.module, line 554
Commerce recurring module file.

Code

function commerce_recurring_commerce_order_status_info() {
  $order_statuses = array();

  // Create a new status before Pending so we can generate orders in recurring
  // processes without intefering with the current cart for the user.
  $order_statuses['recurring_pending'] = array(
    'name' => 'recurring_pending',
    'title' => t('Pending (Recurring order)'),
    'state' => 'pending',
    'weight' => -1,
  );
  return $order_statuses;
}