1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- uuid: f3576dd2-cf66-4cfc-b41e-45d4855ac987
- langcode: en
- status: true
- dependencies:
- enforced:
- module:
- - commerce_product
- - commerce_license
- _core:
- default_config_hash: uBcqzDKpO358QBdXpZONLiQ13aH-bbfmWiN4yiwzKIM
- id: d7_uc_roles_license
- class: null
- field_plugin_method: null
- cck_plugin_method: null
- migration_tags:
- - 'Drupal 7'
- - Ubercart
- - Materio
- migration_group: d7_materio
- label: 'License from D7 Ubercart Roles.'
- source:
- plugin: d7_uc_license_role
- process:
- type:
- plugin: default_value
- default_value: role
- uid:
- -
- plugin: skip_on_empty
- method: row
- source: uid
- -
- plugin: migration_lookup
- migration: d7_users
- no_stub: true
- state: state
- created: created
- granted: created
- renewed: renewed
- changed: renewed
- license_role:
- plugin: static_map
- source: rid
- map:
- 6: adherent
- 10: student
- expiration_type:
- plugin: default_value
- default_value:
- target_plugin_id: rolling_interval
- target_plugin_configuration:
- interval:
- interval: 1
- period: year
- expires: expiration
- product_variation:
- plugin: static_map
- source: rid
- map:
- 6: 2
- 10: 7
- destination:
- plugin: 'entity:commerce_license'
- destination_module: commerce_license
- migration_dependencies:
- required:
- - d7_users
- optional: { }
|