2021-07-26 21:38:40 +02:00
|
|
|
uuid: eafb7b89-8a87-463e-8358-40a908c646d8
|
2020-11-09 16:54:48 +01:00
|
|
|
langcode: en
|
|
|
|
status: true
|
|
|
|
dependencies:
|
|
|
|
enforced:
|
|
|
|
module:
|
|
|
|
- commerce_product
|
|
|
|
- commerce_license
|
2021-07-26 21:38:40 +02:00
|
|
|
_core:
|
|
|
|
default_config_hash: Cww-kYUSfiHIC4eVeT_hxEweTOd3JMHR8VhZtlsuBNo
|
2020-11-09 16:54:48 +01:00
|
|
|
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
|
2021-07-22 11:37:43 +02:00
|
|
|
product_variation: product_variation_id
|
2020-11-09 16:54:48 +01:00
|
|
|
destination:
|
|
|
|
plugin: 'entity:commerce_license'
|
|
|
|
destination_module: commerce_license
|
|
|
|
migration_dependencies:
|
|
|
|
required:
|
|
|
|
- d7_users
|
|
|
|
optional: { }
|