public function FeedsCommerceCouponProcessor::configDefaults in Commerce Feeds 7
Override parent::configDefaults().
File
- plugins/
FeedsCommerceCouponProcessor.inc, line 70 - FeedsUserProcessor class.
Class
- FeedsCommerceCouponProcessor
- Feeds processor plugin. Create users from feed items.
Code
public function configDefaults() {
$types = commerce_coupon_type_get_name();
return array(
'coupon_type' => key($types),
'is_active' => TRUE,
) + parent::configDefaults();
}