Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / taxonomy / migrations / d6_taxonomy_vocabulary_translation.yml
diff --git a/web/core/modules/taxonomy/migrations/d6_taxonomy_vocabulary_translation.yml b/web/core/modules/taxonomy/migrations/d6_taxonomy_vocabulary_translation.yml
new file mode 100644 (file)
index 0000000..2ac7760
--- /dev/null
@@ -0,0 +1,28 @@
+id: d6_taxonomy_vocabulary_translation
+label: Taxonomy vocabularies
+migration_tags:
+  - Drupal 6
+  - Configuration
+source:
+  plugin: d6_taxonomy_vocabulary_translation
+process:
+  vid:
+    -
+      plugin: machine_name
+      source: name
+    -
+      plugin: substr
+      length: 32
+  langcode: language
+  property:
+    plugin: static_map
+    source: property
+    map:
+      name: name
+      description: description
+  translation: translation
+destination:
+  plugin: entity:taxonomy_vocabulary
+migration_dependencies:
+  required:
+    - d6_taxonomy_vocabulary