Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- id: assetnode2model
- label: "Asset Nodes to asset model."
- migration_group: d82tables
- dependencies:
- enforced:
- module:
- - capacitype_move2aa
- langcode: en
- status: true
- source:
- plugin: c5ontent_entity:node
- bundle: asset
- include_translations: false
- filter_published: true
- process:
- # mapping handled at import function
- name: 'title/0/value'
- description: 'description/0/value'
- created_at:
- plugin: c5_timestamp_to_datetime
- source: 'created/0/value'
- updated_at:
- plugin: c5_timestamp_to_datetime
- source: 'changed/0/value'
- email: 'field_asset_email/0/value'
- phone: 'field_asset_phone/0/value'
- url: 'field_asset_website/0/uri'
- online_resource:
- -
- plugin: default_value
- default_value: []
- -
- plugin: c5_get_asset_online_resource
- status:
- plugin: default_value
- default_value: 1
- verified:
- plugin: c5_reverse_boolean
- source: 'unverified/0/value'
- contributors:
- plugin: c5_get_user_emails
- source: field_ref_user
- address:
- plugin: c5_address4aa
- source: field_asset_address
- geoloc:
- plugin: c5_geoloc4aa
- source: field_asset_geofield
- profile:
- -
- plugin: default_value
- default_value: []
- -
- plugin: callback
- callable: serialize
- destination:
- plugin: c5table_asset
- table_name: assets
- database_key: aa
- id_fields:
- id:
- type: integer
- id_fields_map:
- nid: id
- fields:
- id: 'id'
- name: 'name'
- description: 'description'
- email: 'email'
- phone: 'phone'
- url: url
- online_resource: online_resource
- status: status
- verified: verified
- created_at: created_at
- updated_at: updated_at
- deleted_at: deleted_at
- profile: profile
- address: address
- geoloc: geoloc
- contacts: contacts
- contributors: contributors
Add Comment
Please, Sign In to add comment