hook_order_state

Function hook_order_state() in uc_cart.module:
<?php
  hook_order_state
()
?>

Description:

Register static order states.

Order states are module-defined categories for order statuses. Each state will have a default status that is used when modules need to move orders to new state, but don't know which status to use.

Return value:

An array of order state definitions. Each definition is an array with the following keys:
- id: The machine-readable name of the order state.
- title: The human-readable, translated name.
- weight: The list position of the state.
- scope: Either "specific" or "general".