Version 1
[yaffs-website] / web / core / modules / config_translation / migration_templates / d6_i18n_system_site.yml
diff --git a/web/core/modules/config_translation/migration_templates/d6_i18n_system_site.yml b/web/core/modules/config_translation/migration_templates/d6_i18n_system_site.yml
new file mode 100644 (file)
index 0000000..3c80821
--- /dev/null
@@ -0,0 +1,39 @@
+id: d6_i18n_system_site
+label: Site configuration
+migration_tags:
+  - Drupal 6
+source:
+  plugin: i18n_variable
+  constants:
+    slash: '/'
+  variables:
+    - site_name
+    - site_mail
+    - site_slogan
+    - site_frontpage
+    - site_403
+    - site_404
+process:
+  langcode: language
+  name: site_name
+  mail: site_mail
+  slogan: site_slogan
+  'page/front':
+    plugin: concat
+    source:
+      - constants/slash
+      - site_frontpage
+  'page/403':
+    plugin: concat
+    source:
+      - constants/slash
+      - site_403
+  'page/404':
+    plugin: concat
+    source:
+      - constants/slash
+      - site_404
+destination:
+  plugin: config
+  config_name: system.site
+  translations: true