Created
September 13, 2016 10:34
-
-
Save petebarnett/c6881316b48f9bd72ab0b352e828d87e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
id: the_content | |
label: Your Content Migration | |
migration_group: whatever_you_call_this_group | |
source: | |
plugin: your_content_source | |
destination: | |
plugin: entity:your_content_type | |
process: | |
type: | |
plugin: default_value | |
default_value: your_content_type | |
# whatever you want to map on content |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
id: group_content | |
label: Your Group Content Migration | |
migration_group: whatever_you_call_this_group | |
source: | |
plugin: your_content_source | |
destination: | |
plugin: entity:group_content | |
process: | |
gid: | |
source: mt_id | |
plugin: migration | |
migration: the_content | |
entity_id: | |
source: the_source_content_id | |
plugin: migration | |
migration: the_content | |
migration_dependencies: | |
required: | |
- the_content | |
- the_groups | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
id: the_groups | |
label: Your Group Migration | |
migration_group: whatever_you_call_this_group | |
source: | |
plugin: a_source_for_groups | |
destination: | |
plugin: entity:group | |
process: | |
type: | |
plugin: default_value | |
default_value: your_group_type | |
# whatever else you need to map... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment