Guest User

Untitled

a guest
May 20th, 2018
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1. id: assetnode2model
  2. label: "Asset Nodes to asset model."
  3. migration_group: d82tables
  4. dependencies:
  5. enforced:
  6. module:
  7. - capacitype_move2aa
  8. langcode: en
  9. status: true
  10. source:
  11. plugin: c5ontent_entity:node
  12. bundle: asset
  13. include_translations: false
  14. filter_published: true
  15. process:
  16. # mapping handled at import function
  17. name: 'title/0/value'
  18. description: 'description/0/value'
  19. created_at:
  20. plugin: c5_timestamp_to_datetime
  21. source: 'created/0/value'
  22. updated_at:
  23. plugin: c5_timestamp_to_datetime
  24. source: 'changed/0/value'
  25. email: 'field_asset_email/0/value'
  26. phone: 'field_asset_phone/0/value'
  27. url: 'field_asset_website/0/uri'
  28. online_resource:
  29. -
  30. plugin: default_value
  31. default_value: []
  32. -
  33. plugin: c5_get_asset_online_resource
  34. status:
  35. plugin: default_value
  36. default_value: 1
  37. verified:
  38. plugin: c5_reverse_boolean
  39. source: 'unverified/0/value'
  40. contributors:
  41. plugin: c5_get_user_emails
  42. source: field_ref_user
  43. address:
  44. plugin: c5_address4aa
  45. source: field_asset_address
  46. geoloc:
  47. plugin: c5_geoloc4aa
  48. source: field_asset_geofield
  49. profile:
  50. -
  51. plugin: default_value
  52. default_value: []
  53. -
  54. plugin: callback
  55. callable: serialize
  56. destination:
  57. plugin: c5table_asset
  58. table_name: assets
  59. database_key: aa
  60. id_fields:
  61. id:
  62. type: integer
  63. id_fields_map:
  64. nid: id
  65. fields:
  66. id: 'id'
  67. name: 'name'
  68. description: 'description'
  69. email: 'email'
  70. phone: 'phone'
  71. url: url
  72. online_resource: online_resource
  73. status: status
  74. verified: verified
  75. created_at: created_at
  76. updated_at: updated_at
  77. deleted_at: deleted_at
  78. profile: profile
  79. address: address
  80. geoloc: geoloc
  81. contacts: contacts
  82. contributors: contributors
Add Comment
Please, Sign In to add comment