daily pastebin goal
24%
SHARE
TWEET

Untitled

a guest Feb 14th, 2018 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. id,node_title,multi_term,status
  2. ===============================
  3. 1,testing title,term_A,1
  4. 1,testing title,term_B,1
  5. 1,testing title,term_C,1
  6. 1,testing title,term_D,1
  7. 1,testing title,term_E,1
  8. ===============================
  9.    
  10. id: importing_content
  11. class: null
  12. field_plugin_method: null
  13. cck_plugin_method: null
  14. migration_tags: null
  15. migration_group: null
  16. label: 'Import Content Type Story'
  17. source:
  18.   plugin: csv
  19.   path: story.csv
  20.   header_row_count: 1
  21.   delimiter: ','
  22.   keys:
  23.     - id
  24. process:
  25.   nid: id
  26.   title: node_title
  27.   tag_term:
  28.     -
  29.       plugin: migration_lookup
  30.       migration: taxonomy_migration
  31.       no_stub: true
  32.       source: multi_term
  33.   status: status
  34.   type:
  35.     plugin: default_value
  36.     default_value: content_type
  37. destination:
  38.   plugin: 'entity:node'
  39. migration_dependencies: null
RAW Paste Data
Top