You are here

protected function RelationFeedsProcessor::map in Relation 7

File

relation_feeds/RelationFeedsProcessor.inc, line 56
Class definition of RelationFeedsProcessor.

Class

RelationFeedsProcessor
Creates relations from feed items.

Code

protected function map(FeedsSource $source, FeedsParserResult $result, $target_item = NULL) {
  parent::map($source, $result, $target_item);
  if ($endpoints = $this
    ->mapEndpoints($source, $result)) {
    $target_item->endpoints[LANGUAGE_NONE] = $endpoints;
  }
}