wbm2cm_save.yml in Workbench Moderation to Content Moderation 8.2
migrations/wbm2cm_save.yml
File
migrations/wbm2cm_save.ymlView source
- id: wbm2cm_save
- deriver: '\Drupal\wbm2cm\Plugin\Deriver\SaveDeriver'
- source:
- # This must be a valid plugin in order for the migration to be discoverable
- # at all, but it will be changed by the deriver.
- plugin: embedded_data
- keys:
- - id
- - revision
- - langcode
- fields:
- - moderation_state
- process:
- moderation_state: moderation_state
- destination:
- plugin: id_map
- keys:
- moderation_state:
- type: string