You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
956 B

4 years ago
  1. uuid: caf15e13-02d8-4dc4-ae71-f44e75bd3d39
  2. langcode: en
  3. status: true
  4. dependencies: { }
  5. id: upgrade_d7_comment_field
  6. class: Drupal\migrate\Plugin\Migration
  7. field_plugin_method: null
  8. cck_plugin_method: null
  9. migration_tags:
  10. - 'Drupal 7'
  11. - Configuration
  12. migration_group: migrate_drupal_7
  13. label: 'Comment field configuration'
  14. source:
  15. plugin: d7_node_type
  16. constants:
  17. entity_type: node
  18. type: comment
  19. process:
  20. entity_type:
  21. -
  22. plugin: get
  23. source: constants/entity_type
  24. field_name:
  25. -
  26. plugin: migration_lookup
  27. source: type
  28. migration: upgrade_d7_comment_type
  29. -
  30. plugin: skip_on_empty
  31. method: row
  32. type:
  33. -
  34. plugin: get
  35. source: constants/type
  36. settings/comment_type:
  37. -
  38. plugin: get
  39. source: '@field_name'
  40. destination:
  41. plugin: 'entity:field_storage_config'
  42. migration_dependencies:
  43. required:
  44. - upgrade_d7_comment_type
  45. optional:
  46. - upgrade_d7_comment_type