Skip to content

Instantly share code, notes, and snippets.

@ozin7
Last active March 28, 2020 13:46
Show Gist options
  • Save ozin7/01cbc4df15fd6624251c5301ac553bc0 to your computer and use it in GitHub Desktop.
Save ozin7/01cbc4df15fd6624251c5301ac553bc0 to your computer and use it in GitHub Desktop.
Drupal 8: Skip updating some entity fields during migration
destination:
plugin: entity:user
# If the destination is going to update an existing user, you can optionally
# specify the properties that should be overwritten. For example, if the
# migration tries to import user 31 and user 31 already exists in the
# destination database, only the 'name' and 'mail' properties of the user
# will be overwritten. If user 31 doesn't exist, it will be created and
# the overwrite_properties list will be ignored.
overwrite_properties:
- name
- mail
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment