You are here

uc_order_field_instance.yml in Commerce Migrate 3.0.x

modules/ubercart/migrations/uc_order_field_instance.yml

File

modules/ubercart/migrations/uc_order_field_instance.yml
View source
  1. id: uc_order_field_instance
  2. label: Field instance configuration
  3. migration_tags:
  4. - Drupal 6
  5. - Drupal 7
  6. - Configuration
  7. - Ubercart
  8. source:
  9. plugin: embedded_data
  10. constants:
  11. bundle: default
  12. cardinality: -1
  13. entity_type: commerce_order
  14. langcode: und
  15. required: false
  16. status: true
  17. translatable: true
  18. type: text
  19. data_rows:
  20. -
  21. field_name: field_order_comments
  22. label: Order comments
  23. description:
  24. settings:
  25. target_type: commerce_order
  26. -
  27. field_name: field_order_admin_comments
  28. label: Admin order comments
  29. description:
  30. settings:
  31. target_type: commerce_order
  32. -
  33. field_name: field_order_logs
  34. label: Order log
  35. description:
  36. settings:
  37. target_type: commerce_order
  38. ids:
  39. field_name:
  40. type: string
  41. source_module: uc_order
  42. process:
  43. field_name: field_name
  44. label: label
  45. description: description
  46. bundle: 'constants/bundle'
  47. cardinality: 'constants/cardinality'
  48. entity_type: 'constants/entity_type'
  49. langcode: 'constants/langcode'
  50. required: 'constants/required'
  51. status: 'constants/status'
  52. translatable: 'constants/translatable'
  53. type: 'constants/type'
  54. destination:
  55. plugin: entity:field_config
  56. destination_module: commerce_order
  57. migration_dependencies:
  58. required:
  59. - uc_order_field