You are here

function uc_coupon_theme in Ubercart Discount Coupons 6

Same name and namespace in other branches
  1. 7.3 uc_coupon.module \uc_coupon_theme()
  2. 7.2 uc_coupon.module \uc_coupon_theme()

Implementation of hook_theme().

File

./uc_coupon.module, line 216
Provides discount coupons for Ubercart.

Code

function uc_coupon_theme() {
  return array(
    'uc_checkout_pane_coupon' => array(
      'arguments' => array(
        'form' => NULL,
      ),
    ),
    'uc_coupon_actions' => array(
      'arguments' => array(
        'coupon' => NULL,
      ),
      'file' => 'uc_coupon.admin.inc',
    ),
    'uc_coupon_code' => array(
      'arguments' => array(
        'coupon' => NULL,
      ),
      'file' => 'uc_coupon.admin.inc',
    ),
    'uc_coupon_certificate' => array(
      'arguments' => array(
        'coupon' => NULL,
        'code' => NULL,
      ),
      'template' => 'uc_coupon-certificate',
      'path' => drupal_get_path('module', 'uc_coupon') . '/theme',
    ),
    'uc_coupon_page' => array(
      'arguments' => array(
        'content' => NULL,
      ),
      'template' => 'uc_coupon-page',
      'path' => drupal_get_path('module', 'uc_coupon') . '/theme',
    ),
  );
}