You are here

user_profile_entity_display.yml in Zircon Profile 8

core/modules/user/migration_templates/user_profile_entity_display.yml

File

core/modules/user/migration_templates/user_profile_entity_display.yml
View source
  1. id: user_profile_entity_display
  2. label: User profile display configuration
  3. migration_tags:
  4. - Drupal 6
  5. - Drupal 7
  6. source:
  7. plugin: profile_field
  8. constants:
  9. entity_type: user
  10. bundle: user
  11. view_mode: default
  12. options:
  13. label: hidden
  14. settings: {}
  15. process:
  16. entity_type: 'constants/entity_type'
  17. bundle: 'constants/bundle'
  18. view_mode: 'constants/view_mode'
  19. field_name: name
  20. type:
  21. plugin: static_map
  22. source: type
  23. map:
  24. checkbox: list_default
  25. date: datetime_default
  26. list: text_default
  27. selection: list_default
  28. textfield: text_default
  29. textarea: text_default
  30. url: link
  31. options: 'constants/options'
  32. 'options/type': '@type'
  33. hidden:
  34. plugin: static_map
  35. source: visibility
  36. default_value: false
  37. map:
  38. 1: true # PROFILE_PRIVATE
  39. 4: true # PROFILE_HIDDEN
  40. destination:
  41. plugin: component_entity_display
  42. migration_dependencies:
  43. required:
  44. - user_profile_field_instance