You are here

function uc_2checkout_menu in Ubercart 5

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

Implementation of hook_menu().

File

payment/uc_2checkout/uc_2checkout.module, line 15
Integrates 2Checkout.com's redirected payment service.

Code

function uc_2checkout_menu($may_cache) {
  if ($may_cache) {
    $items[] = array(
      'path' => 'cart/2checkout/complete',
      'title' => t('Order complete'),
      'callback' => 'uc_2checkout_complete',
      'access' => user_access('access content'),
      'type' => MENU_CALLBACK,
    );
  }
  return $items;
}