You are here

public function Temporary::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.

Overrides TargetInterface::setTarget

File

src/Feeds/Target/Temporary.php, line 33

Class

Temporary
Defines a target that does not set data.

Namespace

Drupal\feeds\Feeds\Target

Code

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

  // Do nothing because this is only a placeholder target.
}