Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / update / migrations / update_settings.yml
diff --git a/web/core/modules/update/migrations/update_settings.yml b/web/core/modules/update/migrations/update_settings.yml
new file mode 100644 (file)
index 0000000..4bd4a2b
--- /dev/null
@@ -0,0 +1,24 @@
+id: update_settings
+label: Update configuration
+migration_tags:
+  - Drupal 6
+  - Drupal 7
+  - Configuration
+source:
+  plugin: variable
+  variables:
+    - update_max_fetch_attempts
+    - update_fetch_url
+    - update_notification_threshold
+    - update_notify_emails
+    - update_check_frequency
+  source_module: update
+process:
+  'fetch/max_attempts': update_max_fetch_attempts
+  'fetch/url': update_fetch_url
+  'notification/threshold': update_notification_threshold
+  'notification/emails': update_notify_emails
+  'check/interval_days': update_check_frequency
+destination:
+  plugin: config
+  config_name: update.settings