function uc_coupon_theme in Ubercart Discount Coupons 7.2
Same name and namespace in other branches
- 6 uc_coupon.module \uc_coupon_theme()
- 7.3 uc_coupon.module \uc_coupon_theme()
Implements hook_theme().
File
- ./
uc_coupon.module, line 228
Code
function uc_coupon_theme() {
return array(
'uc_coupon_automatic_discounts' => array(
'render element' => 'form',
),
'uc_coupon_form' => array(
'render element' => 'form',
),
'uc_coupon_actions' => array(
'variables' => array(
'coupon' => NULL,
),
'file' => 'uc_coupon.admin.inc',
),
'uc_coupon_code' => array(
'variables' => array(
'coupon' => NULL,
),
'file' => 'uc_coupon.admin.inc',
),
'uc_coupon_discount' => array(
'variables' => array(
'coupon' => NULL,
'currency' => TRUE,
),
),
'uc_coupon_certificate' => array(
'variables' => array(
'coupon' => NULL,
'code' => NULL,
),
'template' => 'uc-coupon-certificate',
'path' => drupal_get_path('module', 'uc_coupon') . '/theme',
),
'uc_coupon_page' => array(
'variables' => array(
'content' => NULL,
),
'template' => 'uc-coupon-page',
'path' => drupal_get_path('module', 'uc_coupon') . '/theme',
),
);
}