d6_role_watchdog.yml in Role Watchdog 8
src/migrations/d6_role_watchdog.yml
File
src/migrations/d6_role_watchdog.ymlView source
- id: d6_role_watchdog
- label: Role Watchdog
- migration_tags:
- - Drupal 6
- source:
- plugin: d6_role_watchdog
- destination:
- plugin: entity:role_watchdog
- process:
- name:
- plugin: static_map
- source: action
- bypass: true
- map:
- 0: 'Role removed'
- 1: 'Role added'
- langcode:
- plugin: default_value
- default_value: 'en'
- field_user_performed_on:
- plugin: migration_lookup
- migration: d6_user
- no_stub: true
- source: aid
- field_role_id:
- plugin: sub_process
- source: rid
- process:
- target_id:
- plugin: migration_lookup
- migration: d6_user_role
- no_stub: true
- source: value
- action: action
- uid:
- plugin: migration_lookup
- migration: d6_user
- no_stub: true
- source: uid
- created: stamp
- changed: stamp
- migration_dependencies:
- required:
- - d6_user_role
- - d6_user