You are here

function commerce_payment_ui_set_order_breadcrumb in Commerce Core 7

Sets the breadcrumb for transaction pages.

Parameters

$order: The order object the transaction is for.

$view_mode: The view mode for the current order page, 'administrator' only for now.

Deprecated

since 7.x-1.4

File

modules/payment/commerce_payment_ui.module, line 274
Default Payment UI for Drupal Commerce.

Code

function commerce_payment_ui_set_order_breadcrumb($order, $view_mode = 'administrator') {

  // This function used to manually set a breadcrumb that is now properly
  // generated by Drupal itself.
}