company term migration : name, memo, phone, website

This commit is contained in:
2018-12-09 16:20:53 +01:00
parent 43d32db826
commit 1b40733e3c
5 changed files with 478 additions and 23 deletions

View File

@@ -23,8 +23,6 @@ process:
plugin: default_value
default_value: company
name: name
'description/value': description
'description/format': format
weight: weight
# Only attempt to stub real (non-zero) parents.
parent_id:
@@ -34,12 +32,40 @@ process:
source: parent
-
plugin: migration_lookup
migration: d7_taxonomy_term_company
migration: d7_taxonomy_term_companie
parent:
plugin: default_value
default_value: 0
source: '@parent_id'
forum_container: is_container
changed: timestamp
# TODO: tode node company
# FROM TODE (linked tode node)
field_website:
plugin: iterator
source: field_website
process:
uri: url
title: title
options: attributes
field_memo: field_memo
field_public_phone: public_phone
# plugin: iterator
# source: field_public_phone
# process:
# value: number
# # ??: country_codes
# # ??: extension
field_public_email: field_public_email
field_departement: field_departement
field_description: body
# 'description/value': description
# 'description/format': format
field_infos_from_company: field_infos_from_company
field_public_address: field_public_address
field_note: field_note
field_attachments: field_attachments
# workflow ??