You are here

public function TargetInterface::setTarget in Feeds 8.3

Sets the values on an object.

Parameters

\Drupal\feeds\FeedInterface $feed: The feed object.

\Drupal\Core\Entity\EntityInterface $entity: The target object.

string $target: The name of the target to set.

array $values: A list of values to set on the target.

2 methods override TargetInterface::setTarget()
FieldTargetBase::setTarget in src/Plugin/Type/Target/FieldTargetBase.php
Sets the values on an object.
Temporary::setTarget in src/Feeds/Target/Temporary.php
Sets the values on an object.

File

src/Plugin/Type/Target/TargetInterface.php, line 39

Class

TargetInterface
Interface for Feed targets.

Namespace

Drupal\feeds\Plugin\Type\Target

Code

public function setTarget(FeedInterface $feed, EntityInterface $entity, $target, array $values);