public function FieldTargetBase::__construct in Feeds 8.3
Constructs a TargetBase object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin id for the plugin instance.
array $plugin_definition: The plugin implementation definition.
Overrides TargetBase::__construct
5 calls to FieldTargetBase::__construct()
- ConfigEntityReference::__construct in src/
Feeds/ Target/ ConfigEntityReference.php - Constructs a ConfigEntityReference object.
- DateTime::__construct in src/
Feeds/ Target/ DateTime.php - Constructs a TargetBase object.
- EntityReference::__construct in src/
Feeds/ Target/ EntityReference.php - Constructs a new EntityReference object.
- Password::__construct in src/
Feeds/ Target/ Password.php - Constructs a new Password object.
- Text::__construct in src/
Feeds/ Target/ Text.php - Constructs a Text object.
5 methods override FieldTargetBase::__construct()
- ConfigEntityReference::__construct in src/
Feeds/ Target/ ConfigEntityReference.php - Constructs a ConfigEntityReference object.
- DateTime::__construct in src/
Feeds/ Target/ DateTime.php - Constructs a TargetBase object.
- EntityReference::__construct in src/
Feeds/ Target/ EntityReference.php - Constructs a new EntityReference object.
- Password::__construct in src/
Feeds/ Target/ Password.php - Constructs a new Password object.
- Text::__construct in src/
Feeds/ Target/ Text.php - Constructs a Text object.
File
- src/
Plugin/ Type/ Target/ FieldTargetBase.php, line 82
Class
- FieldTargetBase
- Helper class for field mappers.
Namespace
Drupal\feeds\Plugin\Type\TargetCode
public function __construct(array $configuration, $plugin_id, array $plugin_definition) {
$this->targetDefinition = $configuration['target_definition'];
$this->settings = $this->targetDefinition
->getFieldDefinition()
->getSettings();
parent::__construct($configuration, $plugin_id, $plugin_definition);
}