You are here

function hook_commerce_checkout_page_info_alter in Commerce Core 7

Allows modules to alter checkout pages defined by other modules.

Parameters

$checkout_pages: The array of checkout page arrays.

See also

hook_commerce_checkout_page_info()

1 invocation of hook_commerce_checkout_page_info_alter()
commerce_checkout_pages in modules/checkout/commerce_checkout.module
Returns an array of checkout pages defined by enabled modules.

File

modules/checkout/commerce_checkout.api.php, line 172
Hooks provided by the Checkout module.

Code

function hook_commerce_checkout_page_info_alter(&$checkout_pages) {
  $checkout_pages['review']['weight'] = 15;
}