class DedupeBase
This abstract base contains the dedupe logic.
These plugins avoid duplication at the destination. For example, when creating filter format names, the current value is checked against the existing filter format names and if it exists, a numeric postfix is added and incremented until a unique value is created.
Online handbook documentation for dedupebase process plugin
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\DedupeBase extends \Drupal\migrate\Plugin\migrate\process\MakeUniqueBase
- 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 DedupeBase
Deprecated
in drupal:8.4.0 and is removed from drupal:9.0.0. Use \Drupal\migrate\Plugin\migrate\process\MakeUniqueBase instead.
See also
https://www.drupal.org/node/2873762
File
-
core/
modules/ migrate/ src/ Plugin/ migrate/ process/ DedupeBase.php, line 23
Namespace
Drupal\migrate\Plugin\migrate\processView source
abstract class DedupeBase extends MakeUniqueBase {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.