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 id: upgrade_d7_file
class: Drupal\migrate\Plugin\Migration class: Drupal\migrate\Plugin\Migration
field_plugin_method: null
cck_plugin_method: null
migration_tags: migration_tags:
- 'Drupal 7' - 'Drupal 7'
- Content - Content
migration_group: migrate_drupal_7 - file
- tag1_content
label: 'Public files' label: 'Public files'
source: source:
key: migrate
plugin: d7_file plugin: d7_file
scheme: public scheme: public
high_water_property:
name: fid
alias: f
constants: constants:
source_base_path: 'http://ddev-migration-drupal7-web/' source_base_path: 'http://ddev-migration-drupal7-web'
process: process:
fid: fid:
- -
@ -32,6 +31,7 @@ process:
source: source:
- constants/source_base_path - constants/source_base_path
- filepath - filepath
file_exists: 'use existing'
- -
plugin: urlencode plugin: urlencode
uri: uri: