created user profil customer migration
This commit is contained in:
@@ -0,0 +1,70 @@
|
||||
uuid: efadb1c8-1ff5-4a7c-9a1f-2b9c269a8362
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- migrate_plus
|
||||
- migrate_tools
|
||||
- profile
|
||||
id: d7_user_profile_customer
|
||||
class: null
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
- Materio
|
||||
migration_group: d7_materio
|
||||
label: 'D7 User Customer Profile'
|
||||
source:
|
||||
plugin: d7_user_profile
|
||||
batch_size: 1000
|
||||
high_water_property:
|
||||
name: changed
|
||||
alias: p
|
||||
process:
|
||||
type:
|
||||
-
|
||||
plugin: skip_on_value
|
||||
equals: true
|
||||
source: type
|
||||
method: row
|
||||
value:
|
||||
- contact_operationnel
|
||||
-
|
||||
plugin: static_map
|
||||
source: type
|
||||
map:
|
||||
adherent: customer
|
||||
uid:
|
||||
plugin: migration_lookup
|
||||
migration: d7_users
|
||||
source: uid
|
||||
phone: field_private_phone
|
||||
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
|
||||
tax_number:
|
||||
plugin: iterator
|
||||
source: field_vat_number_intra_ce
|
||||
process:
|
||||
value: value
|
||||
type:
|
||||
plugin: default_value
|
||||
default_value: EU
|
||||
destination:
|
||||
plugin: 'entity:profile'
|
||||
migration_dependencies:
|
||||
required:
|
||||
- d7_users
|
||||
Reference in New Issue
Block a user