Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / system / migrations / d6_system_file.yml
diff --git a/web/core/modules/system/migrations/d6_system_file.yml b/web/core/modules/system/migrations/d6_system_file.yml
new file mode 100644 (file)
index 0000000..3f71455
--- /dev/null
@@ -0,0 +1,22 @@
+id: d6_system_file
+label: File system configuration
+migration_tags:
+  - Drupal 6
+  - Configuration
+source:
+  plugin: variable
+  variables:
+    - file_directory_temp
+    - allow_insecure_uploads
+  source_module: system
+process:
+  'path/temporary': file_directory_temp
+  allow_insecure_uploads:
+    plugin: static_map
+    source: allow_insecure_uploads
+    map:
+      0: FALSE
+      1: TRUE
+destination:
+  plugin: config
+  config_name: system.file