user profiles migration almost done, + some updates
This commit is contained in:
69
config/sync/migrate_plus.migration.d7_user_profile.yml
Normal file
69
config/sync/migrate_plus.migration.d7_user_profile.yml
Normal file
@@ -0,0 +1,69 @@
|
||||
uuid: c0ee4d63-d111-4488-9389-03efd1551668
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- migrate_plus
|
||||
- migrate_tools
|
||||
- profile
|
||||
_core:
|
||||
default_config_hash: yQMn6M_hGm1NmGAIYpol4n5NBMeUXQqvxMpTAF7cYPw
|
||||
id: d7_user_profile
|
||||
class: null
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
- Materio
|
||||
migration_group: d7_materio
|
||||
label: 'D7 User Profiles'
|
||||
source:
|
||||
plugin: d7_user_profile
|
||||
high_water_property:
|
||||
name: changed
|
||||
alias: p
|
||||
process:
|
||||
type:
|
||||
plugin: static_map
|
||||
source: type
|
||||
map:
|
||||
contact_operationnel: contact_company
|
||||
adherent: member
|
||||
uid:
|
||||
plugin: migration_lookup
|
||||
migration: d7_users
|
||||
source: uid
|
||||
field_activity_sector: field_activity_sector
|
||||
field_employee: field_employee
|
||||
field_first_name: field_first_name
|
||||
field_name: field_name
|
||||
field_naf: field_naf
|
||||
field_organization: field_organization
|
||||
field_phone: field_private_phone
|
||||
field_position: field_private_quality
|
||||
field_service: field_service
|
||||
field_siret: field_siret
|
||||
field_title: field_private_name_title
|
||||
field_vat_number_intra_ce: field_vat_number_intra_ce
|
||||
field_website: field_user_website
|
||||
field_memo: field_memo
|
||||
field_address:
|
||||
plugin: iterator
|
||||
source: field_adresse
|
||||
process:
|
||||
country_code: country
|
||||
administrative_area: administrative_area
|
||||
locality: locality
|
||||
dependent_locality: dependent_locality
|
||||
postal_code: postal_code
|
||||
address_line1: thoroughfare
|
||||
organization: organisation_name
|
||||
given_name: first_name
|
||||
family_name: last_name
|
||||
destination:
|
||||
plugin: 'entity:profile'
|
||||
migration_dependencies:
|
||||
required:
|
||||
- d7_users
|
||||
Reference in New Issue
Block a user