You are here

function commerce_gc_menu in Commerce GC 7

File

./commerce_gc.module, line 373
Provides Giftcard coupon bundle, Giftcard Transaction entity and basic user interface elements.

Code

function commerce_gc_menu() {
  $items['giftcards/%commerce_coupon/transactions/%commerce_gc_transaction/delete'] = array(
    'title' => 'Delete giftcard transaction',
    'access arguments' => array(
      'delete giftcard transactions',
    ),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'commerce_gc_delete_transaction_form',
      1,
      3,
    ),
  );
  return $items;
}