Skip to content

Instantly share code, notes, and snippets.

@mirsoftacquia
Last active November 6, 2018 18:50
Show Gist options
  • Save mirsoftacquia/cf357cad8e3868fd4d5765ccfb2700b9 to your computer and use it in GitHub Desktop.
Save mirsoftacquia/cf357cad8e3868fd4d5765ccfb2700b9 to your computer and use it in GitHub Desktop.
Config distro import example file
id: my_migration_test
label: My migration test
migration_tags:
- Drupal 7
deriver: Drupal\node\Plugin\migrate\D7NodeDeriver
migration_group: default
source:
plugin: d7_node
node_type: page
destination:
plugin: entity:node
process:
field_some_field:
plugin: sub_process
source: field_some_source
process:
target_id:
-
plugin: migration_lookup
migration:
- my_migration_paragraph_pg_one
- my_migration_paragraph_pg_one_two
- my_migration_paragraph_pg_one_one
source: value
no_stub: true
-
plugin: extract
index:
- 0
target_revision_id:
-
plugin: migration_lookup
migration:
- my_migration_paragraph_pg_one
- my_migration_paragraph_pg_one_two
- my_migration_paragraph_pg_one_one
source: value
no_stub: true
-
plugin: extract
index:
- 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment