You are here

d6_webform.yml in Webform: Migrate 8

Same filename and directory in other branches
  1. 8.2 migrations/d6_webform.yml
migrations/d6_webform.yml

File

migrations/d6_webform.yml
View source
  1. id: d6_webform
  2. label: 'Webform'
  3. migration_tags:
  4. - 'Drupal 6'
  5. - Configuration
  6. source:
  7. plugin: d6_webform
  8. constants:
  9. settings:
  10. # "settings/page" must be boolean.
  11. page: true
  12. # "settings/preview" must be integer.
  13. preview: 0
  14. # "settings/wizard_progress_bar" must be boolean.
  15. wizard_progress_bar: true
  16. # "settings/page_submit_path" must be string.
  17. page_submit_path: ''
  18. # "settings/page_confirm_path" must be string.
  19. page_confirm_path: ''
  20. process:
  21. id: webform_id
  22. uid: node_uid
  23. title: title
  24. status: status
  25. elements: elements
  26. handlers: handlers
  27. access: access
  28. 'settings/page': constants/settings/page
  29. 'settings/page_submit_path': constants/settings/page_submit_path
  30. 'settings/page_confirm_path': constants/settings/page_confirm_path
  31. # TODO submit label should be migrated as part of the "elements".
  32. # 'settings/form_submit_label': submit_text
  33. 'settings/wizard_progress_bar': constants/settings/wizard_progress_bar
  34. # Webform does not define schema nor default value for
  35. # "wizard_complete_label".
  36. # 'settings/wizard_complete_label': {}
  37. # Webform does not define schema nor default value for
  38. # "preview_next_button_label".
  39. # 'settings/preview_next_button_label': {}
  40. # Webform does not define schema nor default value for
  41. # "preview_prev_button_label".
  42. # 'settings/preview_prev_button_label': {}
  43. 'settings/draft': allow_draft
  44. 'settings/draft_auto_save': auto_save
  45. # Webform does not define schema nor default value for "draft_button_label".
  46. # 'settings/draft_button_label': {}
  47. 'settings/confirmation_type': confirmation_type
  48. 'settings/confirmation_url': redirect_url
  49. 'settings/confirmation_message': confirmation
  50. 'settings/limit_total': total_submit_limit
  51. 'settings/limit_user': submit_limit
  52. destination:
  53. plugin: 'entity:webform'
  54. migration_dependencies:
  55. required:
  56. - d6_user_role
  57. optional:
  58. - d6_node:webform