Customize upgrade_d7_file migration

This commit is contained in:
Mauricio Dinarte 2024-12-04 10:12:56 -06:00
parent 3d77a74576
commit 2f7b611bcd

View file

@ -1,21 +1,20 @@
uuid: bb7a5391-aef1-45a5-8c08-248c09f56193
langcode: en
status: true
dependencies: { }
id: upgrade_d7_file
class: Drupal\migrate\Plugin\Migration
field_plugin_method: null
cck_plugin_method: null
migration_tags:
- 'Drupal 7'
- Content
migration_group: migrate_drupal_7
- file
- tag1_content
label: 'Public files'
source:
key: migrate
plugin: d7_file
scheme: public
high_water_property:
name: fid
alias: f
constants:
source_base_path: 'http://ddev-migration-drupal7-web/'
source_base_path: 'http://ddev-migration-drupal7-web'
process:
fid:
-
@ -32,6 +31,7 @@ process:
source:
- constants/source_base_path
- filepath
file_exists: 'use existing'
-
plugin: urlencode
uri: