migration showroom ok

This commit is contained in:
2018-12-10 15:22:44 +01:00
parent b17458fe4a
commit f3bd4cb8d3
24 changed files with 610 additions and 66 deletions

View File

@@ -23,23 +23,65 @@ process:
plugin: default_value
default_value: showroom
name: name
'description/value': description
'description/format': format
weight: weight
# Only attempt to stub real (non-zero) parents.
parent_id:
-
plugin: skip_on_empty
method: process
source: parent
-
plugin: migration_lookup
migration: d7_taxonomy_term_showroom
parent:
plugin: default_value
default_value: 0
source: '@parent_id'
forum_container: is_container
changed: timestamp
langcode:
plugin: default_value
default_value: 'und'
field_migration:
plugin: default_value
default_value: 'migration_imported'
field_workflow:
plugin: default_value
default_value: 'workflow_visible'
# TODO: tode node showroom
# tode node showroom
field_website:
plugin: iterator
source: field_website
process:
uri: url
title: title
options: attributes
field_memo: field_memo
field_public_phone: public_phone
field_public_email:
plugin: iterator
source: field_public_email
process:
value: email
field_public_address:
plugin: iterator
source: field_public_address
process:
# langcode:
country_code: country
administrative_area: administrative_area
locality: locality
dependent_locality: dependent_locality
postal_code: postal_code
# sorting_code:
address_line1: thoroughfare
# address_line2:
organization: organisation_name
given_name: first_name
# additional_name:
family_name: last_name
# SOURCES
# sub_administrative_area
# premise
# sub_premise
# name_line
# data
description:
plugin: iterator
source: body
process:
value: value
format:
plugin: default_value
default_value: wysiwyg