Upgraded drupal core with security updates
[yaffs-website] / web / core / modules / migrate / src / Plugin / migrate / process / DedupeEntity.php
1 <?php
2
3 namespace Drupal\migrate\Plugin\migrate\process;
4
5 @trigger_error('The ' . __NAMESPACE__ . ' \DedupeEntity is deprecated in
6 Drupal 8.4.x and will be removed before Drupal 9.0.0. Instead, use ' . __NAMESPACE__ . ' \MakeUniqueEntityField', E_USER_DEPRECATED);
7
8 /**
9  * Ensures value is not duplicated against an entity field.
10  *
11  * If the 'migrated' configuration value is true, an entity will only be
12  * considered a duplicate if it was migrated by the current migration.
13  *
14  * @link https://www.drupal.org/node/2135325 Online handbook documentation for dedupe_entity process plugin @endlink
15  *
16  * @MigrateProcessPlugin(
17  *   id = "dedupe_entity"
18  * )
19  *
20  * @deprecated in Drupal 8.4.x and will be removed in Drupal 9.0.x. Use
21  *   \Drupal\migrate\Plugin\migrate\process\MakeUniqueEntityField instead.
22  */
23 class DedupeEntity extends MakeUniqueEntityField { }