Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / field / src / Plugin / migrate / process / FieldTypeDefaults.php
diff --git a/web/core/modules/field/src/Plugin/migrate/process/FieldTypeDefaults.php b/web/core/modules/field/src/Plugin/migrate/process/FieldTypeDefaults.php
new file mode 100644 (file)
index 0000000..f870ba4
--- /dev/null
@@ -0,0 +1,21 @@
+<?php
+
+namespace Drupal\field\Plugin\migrate\process;
+
+@trigger_error('The field_type_defaults process plugin is deprecated in Drupal 8.6.0 and will be removed before Drupal 9.0.0. Use d6_field_type_defaults or d7_field_type_defaults instead. See https://www.drupal.org/node/2944589.', E_USER_DEPRECATED);
+
+use Drupal\field\Plugin\migrate\process\d6\FieldTypeDefaults as D6FieldTypeDefaults;
+
+/**
+ * BC Layer.
+ *
+ * @MigrateProcessPlugin(
+ *   id = "field_type_defaults"
+ * )
+ *
+ * @deprecated in Drupal 8.6.x and will be removed before Drupal 9.0.x.
+ * Use d6_field_type_defaults or d7_field_type_defaults instead.
+ *
+ * @see https://www.drupal.org/node/2944589
+ */
+class FieldTypeDefaults extends D6FieldTypeDefaults {}