public function FieldTargetBase::defaultConfiguration in Feeds 8.3
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides TargetBase::defaultConfiguration
5 calls to FieldTargetBase::defaultConfiguration()
- DateTargetBase::defaultConfiguration in src/
Feeds/ Target/ DateTargetBase.php - Gets default configuration for this plugin.
- Email::defaultConfiguration in src/
Feeds/ Target/ Email.php - Gets default configuration for this plugin.
- EntityReference::defaultConfiguration in src/
Feeds/ Target/ EntityReference.php - Gets default configuration for this plugin.
- Password::defaultConfiguration in src/
Feeds/ Target/ Password.php - Gets default configuration for this plugin.
- Text::defaultConfiguration in src/
Feeds/ Target/ Text.php - Gets default configuration for this plugin.
6 methods override FieldTargetBase::defaultConfiguration()
- ConfigEntityReference::defaultConfiguration in src/
Feeds/ Target/ ConfigEntityReference.php - Gets default configuration for this plugin.
- DateTargetBase::defaultConfiguration in src/
Feeds/ Target/ DateTargetBase.php - Gets default configuration for this plugin.
- Email::defaultConfiguration in src/
Feeds/ Target/ Email.php - Gets default configuration for this plugin.
- EntityReference::defaultConfiguration in src/
Feeds/ Target/ EntityReference.php - Gets default configuration for this plugin.
- Password::defaultConfiguration in src/
Feeds/ Target/ Password.php - Gets default configuration for this plugin.
File
- src/
Plugin/ Type/ Target/ FieldTargetBase.php, line 309
Class
- FieldTargetBase
- Helper class for field mappers.
Namespace
Drupal\feeds\Plugin\Type\TargetCode
public function defaultConfiguration() {
$configuration = [];
if ($this
->isTargetFieldTranslatable()) {
$configuration['language'] = NULL;
}
return $configuration;
}