diff core/modules/language/migrations/language.yml @ 0:c75dbcec494b

Initial commit from drush-created site
author Chris Cannam
date Thu, 05 Jul 2018 14:24:15 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/core/modules/language/migrations/language.yml	Thu Jul 05 14:24:15 2018 +0000
@@ -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