You are here

public function FeedsCommerceProductMultiProcessor::process in Commerce Feeds multitype 7

File

plugins/FeedsCommerceProductMultiProcessor.inc, line 46
Class definition of FeedsCommerceProductMultiProcessor.

Class

FeedsCommerceProductMultiProcessor
Creates products of different types from feed items.

Code

public function process(FeedsSource $source, FeedsParserResult $parser_result) {

  // Keep track of the parser's result so that newEntity() can use it to read
  // the bundle.
  $this->commerce_feedsmulti_result = $parser_result;
  parent::process($source, $parser_result);
  $this->commerce_feedsmulti_result = NULL;
}