Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / language / migrations / language.yml
diff --git a/web/core/modules/language/migrations/language.yml b/web/core/modules/language/migrations/language.yml
new file mode 100644 (file)
index 0000000..36317f5
--- /dev/null
@@ -0,0 +1,20 @@
+id: language
+label: Languages
+migration_tags:
+  - Drupal 6
+  - Drupal 7
+  - Configuration
+source:
+  plugin: language
+process:
+  id: language
+  label: name
+  direction:
+    plugin: static_map
+    source: direction
+    map:
+      0: ltr
+      1: rtl
+  weight: weight
+destination:
+  plugin: entity:configurable_language