Created
March 2, 2018 18:42
-
-
Save chriscalip/f2efaf73976b2ed42608aa8f3c35dc99 to your computer and use it in GitHub Desktop.
Example gist for issue https://www.drupal.org/project/migrate_plus/issues/2949271 migration using destination plugin
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: termgroup2table | |
label: "Group taxonomy terms to group model." | |
migration_group: d82tables | |
dependencies: | |
enforced: | |
module: | |
- capacitype_move2aa | |
langcode: en | |
status: true | |
source: | |
plugin: c5ontent_entity:taxonomy_term | |
bundle: group | |
include_translations: false | |
process: | |
name: 'name/0/value' | |
description: 'description/0/value' | |
created_at: | |
plugin: c5_timestamp_to_datetime | |
source: 'changed/0/value' | |
updated_at: | |
plugin: c5_timestamp_to_datetime | |
source: 'changed/0/value' | |
destination: | |
plugin: table | |
table_name: groups | |
database_key: aa | |
id_fields: | |
id: | |
type: integer | |
fields: | |
id: 'id' | |
name: 'name' | |
description: 'description' | |
alias: alias | |
url: url | |
created_at: created_at | |
updated_at: updated_at |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment