Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / image / migrations / d6_imagecache_presets.yml
diff --git a/web/core/modules/image/migrations/d6_imagecache_presets.yml b/web/core/modules/image/migrations/d6_imagecache_presets.yml
new file mode 100644 (file)
index 0000000..d34da74
--- /dev/null
@@ -0,0 +1,25 @@
+id: d6_imagecache_presets
+label: ImageCache Presets
+migration_tags:
+  - Drupal 6
+  - Configuration
+source:
+  plugin: d6_imagecache_presets
+process:
+  name:
+    -
+      plugin: machine_name
+      source: presetname
+    -
+      plugin: make_unique_entity_field
+      entity_type: image_style
+      field: name
+      length: 32
+  label: presetname
+  effects:
+    plugin: d6_imagecache_actions
+    source:
+      - '@plugin'
+      - data
+destination:
+  plugin: entity:image_style