Skip to content

Instantly share code, notes, and snippets.

@bmsimo
Created January 17, 2023 16:27
Show Gist options
  • Save bmsimo/fd0a5c1d0957130b9c7888a1ab719f83 to your computer and use it in GitHub Desktop.
Save bmsimo/fd0a5c1d0957130b9c7888a1ab719f83 to your computer and use it in GitHub Desktop.
Drupal User Migration YAML File
id: migrate_users
label: 'Users'
source:
plugin: users
key: migrate
process:
uid: uid
name: name
mail: mail
pass: pass
status: status
created: created
changed: changed
access: access
login: login
init: init
timezone: timezone
# Map the source 'roles' field to the destination 'roles' field.
roles: roles
destination:
plugin: 'entity:user'
default_bundle: users
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment