function _uc_coupon_date_range in Ubercart Discount Coupons 7.3
Same name and namespace in other branches
- 5 uc_coupon.module \_uc_coupon_date_range()
- 6 uc_coupon.admin.inc \_uc_coupon_date_range()
- 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.admin.inc - Coupon add/edit form.
- uc_coupon_reports_form in ./
uc_coupon.reports.inc - Coupon report options form.
File
- ./
uc_coupon.admin.inc, line 770 - Discount Coupons administration pages.
Code
function _uc_coupon_date_range($form_element) {
$form_element['year']['#options'] = drupal_map_assoc(range(2008, date('Y') + 10));
return $form_element;
}