Initial Drupal 11 with DDEV setup
This commit is contained in:
26
web/core/modules/image/migrations/d6_imagecache_presets.yml
Normal file
26
web/core/modules/image/migrations/d6_imagecache_presets.yml
Normal file
@ -0,0 +1,26 @@
|
||||
# cspell:ignore imagecache presetname
|
||||
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: 30
|
||||
label: presetname
|
||||
effects:
|
||||
plugin: d6_imagecache_actions
|
||||
source:
|
||||
- '@plugin'
|
||||
- data
|
||||
destination:
|
||||
plugin: entity:image_style
|
||||
19
web/core/modules/image/migrations/d7_image_settings.yml
Normal file
19
web/core/modules/image/migrations/d7_image_settings.yml
Normal file
@ -0,0 +1,19 @@
|
||||
id: d7_image_settings
|
||||
label: Image configuration
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- allow_insecure_derivatives
|
||||
- suppress_itok_output
|
||||
- image_style_preview_image
|
||||
source_module: image
|
||||
process:
|
||||
suppress_itok_output: suppress_itok_output
|
||||
allow_insecure_derivatives: allow_insecure_derivatives
|
||||
preview_image: image_style_preview_image
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: image.settings
|
||||
19
web/core/modules/image/migrations/d7_image_styles.yml
Normal file
19
web/core/modules/image/migrations/d7_image_styles.yml
Normal file
@ -0,0 +1,19 @@
|
||||
id: d7_image_styles
|
||||
label: Image styles
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: d7_image_styles
|
||||
process:
|
||||
name: name
|
||||
label: label
|
||||
effects:
|
||||
plugin: sub_process
|
||||
source: effects
|
||||
process:
|
||||
id: name
|
||||
weight: weight
|
||||
data: data
|
||||
destination:
|
||||
plugin: entity:image_style
|
||||
@ -0,0 +1,7 @@
|
||||
# cspell:ignore imagefield imagecache
|
||||
finished:
|
||||
6:
|
||||
imagecache: image
|
||||
imagefield: image
|
||||
7:
|
||||
image: image
|
||||
Reference in New Issue
Block a user