1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- uuid: a015a14a-bc21-471e-8fdb-39252c4d6182
- langcode: fr
- status: true
- dependencies: { }
- id: upgrade_d6_user_picture_file
- class: Drupal\migrate\Plugin\Migration
- field_plugin_method: null
- cck_plugin_method: null
- migration_tags:
- - 'Drupal 6'
- migration_group: migrate_drupal_6
- label: 'User pictures'
- source:
- plugin: d6_user_picture_file
- constants:
- is_public: true
- source_base_path: ../drupal6/
- process:
- filename: filename
- uid: uid
- source_full_path:
- -
- plugin: concat
- delimiter: /
- source:
- - constants/source_base_path
- - picture
- -
- plugin: urlencode
- destination_full_path:
- plugin: file_uri
- source:
- - picture
- - file_directory_path
- - temp_directory_path
- - constants/is_public
- uri:
- plugin: file_copy
- source:
- - '@source_full_path'
- - '@destination_full_path'
- destination:
- plugin: 'entity:file'
- migration_dependencies:
- optional:
- - upgrade_d6_file
- required: { }
|