You are here

function _uc_coupon_date_range in Ubercart Discount Coupons 5

Same name and namespace in other branches
  1. 6 uc_coupon.admin.inc \_uc_coupon_date_range()
  2. 7.3 uc_coupon.admin.inc \_uc_coupon_date_range()
  3. 7.2 uc_coupon.admin.inc \_uc_coupon_date_range()
2 string references to '_uc_coupon_date_range'
uc_coupon_add_form in ./uc_coupon.module
Form builder for product attributes.
uc_coupon_reports_form in ./uc_coupon.module
Coupon report form.

File

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

Code

function _uc_coupon_date_range($form_element) {
  $form_element['year']['#options'] = drupal_map_assoc(range(2008, 2020));
  return $form_element;
}