class DedupeEntity
Ensures value is not duplicated against an entity field.
If the 'migrated' configuration value is true, an entity will only be considered a duplicate if it was migrated by the current migration.
Online handbook documentation for dedupe_entity process plugin
Plugin annotation
@MigrateProcessPlugin(
id = "dedupe_entity"
)
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements \Drupal\Component\Plugin\PluginInspectionInterface, \Drupal\Component\Plugin\DerivativeInspectionInterface
- class \Drupal\Core\Plugin\PluginBase extends \Drupal\Component\Plugin\PluginBase uses \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait
- class \Drupal\migrate\ProcessPluginBase extends \Drupal\Core\Plugin\PluginBase implements \Drupal\migrate\Plugin\MigrateProcessInterface
- class \Drupal\migrate\Plugin\migrate\process\MakeUniqueBase extends \Drupal\migrate\ProcessPluginBase
- class \Drupal\migrate\Plugin\migrate\process\MakeUniqueEntityField extends \Drupal\migrate\Plugin\migrate\process\MakeUniqueBase implements \Drupal\Core\Plugin\ContainerFactoryPluginInterface
- class \Drupal\migrate\Plugin\migrate\process\DedupeEntity extends \Drupal\migrate\Plugin\migrate\process\MakeUniqueEntityField
- class \Drupal\migrate\Plugin\migrate\process\MakeUniqueEntityField extends \Drupal\migrate\Plugin\migrate\process\MakeUniqueBase implements \Drupal\Core\Plugin\ContainerFactoryPluginInterface
- class \Drupal\migrate\Plugin\migrate\process\MakeUniqueBase extends \Drupal\migrate\ProcessPluginBase
- class \Drupal\migrate\ProcessPluginBase extends \Drupal\Core\Plugin\PluginBase implements \Drupal\migrate\Plugin\MigrateProcessInterface
- class \Drupal\Core\Plugin\PluginBase extends \Drupal\Component\Plugin\PluginBase uses \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait
Expanded class hierarchy of DedupeEntity
Deprecated
in drupal:8.4.0 and is removed from drupal:9.0.0. Use \Drupal\migrate\Plugin\migrate\process\MakeUniqueEntityField instead.
See also
https://www.drupal.org/node/2873762
1 file declares its use of DedupeEntity
- DedupeEntityTest.php in core/
modules/ migrate/ tests/ src/ Unit/ process/ DedupeEntityTest.php
File
-
core/
modules/ migrate/ src/ Plugin/ migrate/ process/ DedupeEntity.php, line 25
Namespace
Drupal\migrate\Plugin\migrate\processView source
class DedupeEntity extends MakeUniqueEntityField {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.