You are here

user_profile_field.yml in Zircon Profile 8

Same filename and directory in other branches
  1. 8.0 core/modules/user/migration_templates/user_profile_field.yml
core/modules/user/migration_templates/user_profile_field.yml

File

core/modules/user/migration_templates/user_profile_field.yml
View source
  1. id: user_profile_field
  2. label: User profile field configuration
  3. migration_tags:
  4. - Drupal 6
  5. - Drupal 7
  6. source:
  7. plugin: profile_field
  8. constants:
  9. entity_type: user
  10. process:
  11. entity_type: 'constants/entity_type'
  12. field_name: name
  13. type:
  14. plugin: static_map
  15. source: type
  16. map:
  17. checkbox: boolean
  18. date: datetime
  19. list: text
  20. selection: list_string
  21. textfield: text
  22. textarea: text_long
  23. url: link
  24. settings:
  25. plugin: profile_field_settings
  26. source: type
  27. 'settings/allowed_values': options
  28. cardinality:
  29. plugin: static_map
  30. default_value: 1
  31. source: type
  32. map:
  33. list: -1
  34. destination:
  35. plugin: md_entity:field_storage_config