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

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\process
View source
class DedupeEntity extends MakeUniqueEntityField {

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.