You are here

function uc_payment_pack_menu in Ubercart 5

Same name and namespace in other branches
  1. 6.2 payment/uc_payment_pack/uc_payment_pack.module \uc_payment_pack_menu()
  2. 7.3 payment/uc_payment_pack/uc_payment_pack.module \uc_payment_pack_menu()

File

payment/uc_payment_pack/uc_payment_pack.module, line 11
Provides the check/money order, COD, and "other" payment methods.

Code

function uc_payment_pack_menu($may_cache) {
  if (!$may_cache) {
    $items[] = array(
      'path' => 'admin/store/orders/' . arg(3) . '/receive_check',
      'title' => t('Receive Check'),
      'callback' => 'drupal_get_form',
      'callback arguments' => array(
        'uc_payment_pack_receive_check_form',
        arg(3),
      ),
      'access' => user_access('view all orders'),
      'type' => MENU_CALLBACK,
    );
  }
  return $items;
}