materio-d9/config/sync/migrate_plus.migration.d7_t...

112 lines
2.5 KiB
YAML
Raw Normal View History

2020-11-09 16:54:48 +01:00
uuid: 36e781b5-fffe-49eb-a8c5-b6574e8ea464
langcode: en
status: true
dependencies: { }
id: d7_taxonomy_term_company
class: null
field_plugin_method: null
cck_plugin_method: null
migration_tags:
- 'Drupal 7'
- Content
- Materio
migration_group: d7_materio
label: 'Taxonomy terms Company'
source:
plugin: d7_taxonomy_term_company
bundle: company
process:
vid:
plugin: default_value
default_value: company
name: name
weight: weight
parent_id:
-
plugin: skip_on_empty
method: process
source: parent
-
plugin: migration_lookup
migration: d7_taxonomy_term_company
parent:
plugin: default_value
default_value: 0
source: '@parent_id'
changed: timestamp
langcode:
plugin: default_value
default_value: und
field_migration:
plugin: default_value
default_value: migration_imported
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:
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
field_note: field_note
field_departement: field_departement
description:
plugin: iterator
source: body
process:
value: value
format:
plugin: default_value
default_value: wysiwyg
field_infos_from_company:
plugin: iterator
source: field_infos_from_company
process:
value: value
format:
plugin: default_value
default_value: wysiwyg
field_workflow:
plugin: static_map
source: workflow
map:
1: workflow_creation
2: workflow_hidden
3: workflow_visible
4: workflow_imported
5: workflow_edited
field_attachments:
plugin: iterator
source: field_attachments
process:
target_id:
plugin: migration_lookup
migration: d7_allpublicfiles
source: fid
no_stub: true
description: description
destination:
plugin: 'entity:taxonomy_term'
migration_dependencies:
required:
- d7_allpublicfiles