BIG REFACTORING using composer create-project drupal-composer/drupal-project
This commit is contained in:
113
config/sync/migrate_plus.migration.d7_taxonomy_term_company.yml
Normal file
113
config/sync/migrate_plus.migration.d7_taxonomy_term_company.yml
Normal file
@@ -0,0 +1,113 @@
|
||||
uuid: 68f144c3-730e-484d-a6fa-914823bb6457
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
_core:
|
||||
default_config_hash: Y7surKNH2d9UWee4zzr6yzSyfIruwBMTs1xSoL_ShG4
|
||||
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_companie
|
||||
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
|
||||
Reference in New Issue
Block a user