You are here

public function FeedsCommerceProductProcessor::configDefaults in Commerce Feeds 7

Override parent::configDefaults().

File

plugins/FeedsCommerceProductProcessor.inc, line 71
Class definition of FeedsCommerceProductProcessor.

Class

FeedsCommerceProductProcessor
Creates products from feed items.

Code

public function configDefaults() {
  $types = commerce_product_type_get_name();
  $type = isset($types['product']) ? 'product' : key($types);
  return array(
    'product_type' => $type,
    'author' => 0,
    'tax_rate' => '',
  ) + parent::configDefaults();
}