Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / statistics / migrations / statistics_settings.yml
diff --git a/web/core/modules/statistics/migrations/statistics_settings.yml b/web/core/modules/statistics/migrations/statistics_settings.yml
new file mode 100644 (file)
index 0000000..edc0e04
--- /dev/null
@@ -0,0 +1,18 @@
+id: statistics_settings
+label: Statistics configuration
+migration_tags:
+  - Drupal 6
+  - Drupal 7
+  - Configuration
+source:
+  plugin: variable
+  variables:
+    - statistics_enable_access_log
+    - statistics_flush_accesslog_timer
+    - statistics_count_content_views
+  source_module: statistics
+process:
+  'count_content_views': statistics_count_content_views
+destination:
+  plugin: config
+  config_name: statistics.settings