public function FeedsCommerceCustomerProfileProcessor::configDefaults in Commerce Feeds 7
Override parent::configDefaults().
File
- plugins/
FeedsCommerceCustomerProfileProcessor.inc, line 70 - Class definition of FeedsCommerceCustomerProfileProcessor.
Class
- FeedsCommerceCustomerProfileProcessor
- Creates profiles from feed items.
Code
public function configDefaults() {
$types = commerce_customer_profile_type_get_name();
$type = isset($types['billing']) ? 'billing' : key($types);
return array(
'customer_profile_type' => $type,
) + parent::configDefaults();
}