Update to Drupal 8.2.0. For more information, see https://www.drupal.org/project/drupal/releases/8.2.0
This commit is contained in:
parent
2f563ab520
commit
f1c8716f57
1732 changed files with 52334 additions and 11780 deletions
|
@ -1,21 +1,41 @@
|
|||
# Every migration that saves into {file_managed} must have the d6_file
|
||||
# migration as an optional dependency to ensure d6_file runs first.
|
||||
# Every migration that references a file by Drupal 6 fid should specify this
|
||||
# migration as an optional dependency.
|
||||
id: d6_file
|
||||
label: Files
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
source:
|
||||
plugin: d6_file
|
||||
constants:
|
||||
# source_base_path must be set by the tool configuring this migration. It
|
||||
# represents the fully qualified path relative to which URIs in the files
|
||||
# table are specified, and must end with a /. See source_full_path
|
||||
# configuration in this migration's process pipeline as an example.
|
||||
source_base_path: ''
|
||||
process:
|
||||
fid: fid
|
||||
filename: filename
|
||||
uri:
|
||||
source_full_path:
|
||||
-
|
||||
plugin: concat
|
||||
delimiter: /
|
||||
source:
|
||||
- constants/source_base_path
|
||||
- filepath
|
||||
-
|
||||
plugin: urlencode
|
||||
destination_full_path:
|
||||
plugin: file_uri
|
||||
source:
|
||||
- filepath
|
||||
- file_directory_path
|
||||
- temp_directory_path
|
||||
- is_public
|
||||
uri:
|
||||
plugin: file_copy
|
||||
source:
|
||||
- '@source_full_path'
|
||||
- '@destination_full_path'
|
||||
filemime: filemime
|
||||
filesize: filesize
|
||||
status: status
|
||||
|
@ -23,4 +43,3 @@ process:
|
|||
uid: uid
|
||||
destination:
|
||||
plugin: entity:file
|
||||
urlencode: true
|
||||
|
|
|
@ -1,15 +1,34 @@
|
|||
# Every migration that references a file by fid should specify this migration
|
||||
# as an optional dependency.
|
||||
# Every migration that references a file by Drupal 7 fid should specify this
|
||||
# migration as an optional dependency.
|
||||
id: d7_file
|
||||
label: Files
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
source:
|
||||
plugin: d7_file
|
||||
constants:
|
||||
# source_base_path must be set by the tool configuring this migration. It
|
||||
# represents the fully qualified path relative to which uris in the files
|
||||
# table are specified, and must end with a /. See source_full_path
|
||||
# configuration in this migration's process pipeline as an example.
|
||||
source_base_path: ''
|
||||
process:
|
||||
fid: fid
|
||||
filename: filename
|
||||
uri: uri
|
||||
source_full_path:
|
||||
-
|
||||
plugin: concat
|
||||
delimiter: /
|
||||
source:
|
||||
- constants/source_base_path
|
||||
- filepath
|
||||
-
|
||||
plugin: urlencode
|
||||
uri:
|
||||
plugin: file_copy
|
||||
source:
|
||||
- '@source_full_path'
|
||||
- uri
|
||||
filemime: filemime
|
||||
# filesize is dynamically computed when file entities are saved, so there is
|
||||
# no point in migrating it.
|
||||
|
@ -22,5 +41,3 @@ process:
|
|||
uid: uid
|
||||
destination:
|
||||
plugin: entity:file
|
||||
source_path_property: filepath
|
||||
urlencode: true
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
id: d6_file_settings
|
||||
id: file_settings
|
||||
label: File configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Drupal 7
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
Reference in a new issue