You are here

public function FeedsUserProcessor::setTargetElement in Feeds 6

Same name and namespace in other branches
  1. 7.2 plugins/FeedsUserProcessor.inc \FeedsUserProcessor::setTargetElement()
  2. 7 plugins/FeedsUserProcessor.inc \FeedsUserProcessor::setTargetElement()

Set target element.

Overrides FeedsProcessor::setTargetElement

File

plugins/FeedsUserProcessor.inc, line 160
FeedsUserProcessor class.

Class

FeedsUserProcessor
Feeds processor plugin. Create users from feed items.

Code

public function setTargetElement(&$target_item, $target_element, $value) {
  $target_item->{$target_element} = $value;
}