public function FeedsRulesProcessor::setTargetElement in Feeds Rules 7
Override setTargetElement to operate on a target item that is the parameter array for the selected component.
File
- plugins/
FeedsRulesProcessor.inc, line 259 - Defines the Feeds Rules processor plugin.
Class
- FeedsRulesProcessor
- Feeds processor plugin to process a rules component for each feed items.
Code
public function setTargetElement(FeedsSource $source, $target_item, $target_element, $value) {
switch ($target_element) {
default:
$target_item->params[$target_element] = $value;
break;
}
}