You are here

function uc_coupon_view in Ubercart Discount Coupons 7.3

Same name and namespace in other branches
  1. 6 uc_coupon.admin.inc \uc_coupon_view()
  2. 7.2 uc_coupon.admin.inc \uc_coupon_view()

View coupon details.

Parameters

$coupon object: Coupon to view.

1 string reference to 'uc_coupon_view'
uc_coupon_menu in ./uc_coupon.module
Implements hook_menu().

File

./uc_coupon.admin.inc, line 203
Discount Coupons administration pages.

Code

function uc_coupon_view($coupon) {
  return entity_view('uc_coupon', array(
    $coupon,
  ));
}