You are here

function commerce_backoffice_order_menu in Commerce Backoffice 7

Implements hook_menu().

File

./commerce_backoffice_order.module, line 16

Code

function commerce_backoffice_order_menu() {

  // Megarow callback.
  $items['commerce_backoffice/order/%commerce_order/%'] = array(
    'title callback' => 'commerce_order_ui_order_title',
    'title arguments' => array(
      2,
    ),
    'page callback' => 'commerce_backoffice_order_view',
    'page arguments' => array(
      2,
      3,
    ),
    'delivery callback' => 'ajax_deliver',
    'access callback' => 'commerce_order_access',
    'access arguments' => array(
      'view',
      2,
    ),
  );
  return $items;
}