You are here

public static function TargetInterface::targets in Feeds 8.3

Returns the targets defined by this plugin.

Parameters

\Drupal\feeds\TargetDefinitionInterface[] $targets: An array of targets.

\Drupal\feeds\FeedTypeInterface $feed_type: The feed type object.

array $definition: The plugin implementation definition.

2 methods override TargetInterface::targets()
FieldTargetBase::targets in src/Plugin/Type/Target/FieldTargetBase.php
Returns the targets defined by this plugin.
Temporary::targets in src/Feeds/Target/Temporary.php
Returns the targets defined by this plugin.

File

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

Class

TargetInterface
Interface for Feed targets.

Namespace

Drupal\feeds\Plugin\Type\Target

Code

public static function targets(array &$targets, FeedTypeInterface $feed_type, array $definition);