You are here

d6_user_profile_field_instance_translation.yml in Drupal 9

core/modules/config_translation/migrations/d6_user_profile_field_instance_translation.yml

File

core/modules/config_translation/migrations/d6_user_profile_field_instance_translation.yml
View source
  1. id: d6_user_profile_field_instance_translation
  2. label: User profile field instance configuration
  3. migration_tags:
  4. - Drupal 6
  5. - Configuration
  6. - Multilingual
  7. source:
  8. plugin: d6_profile_field_translation
  9. constants:
  10. entity_type: user
  11. bundle: user
  12. process:
  13. langcode: language
  14. entity_type: 'constants/entity_type'
  15. bundle: 'constants/bundle'
  16. field_name:
  17. -
  18. plugin: migration_lookup
  19. migration: user_profile_field
  20. source: fid
  21. -
  22. plugin: skip_on_empty
  23. method: row
  24. -
  25. plugin: extract
  26. index:
  27. - 1
  28. property:
  29. plugin: static_map
  30. source: property
  31. map:
  32. title: label
  33. options: options
  34. explanation: description
  35. translation: translation
  36. destination:
  37. plugin: entity:field_config
  38. translations: true
  39. migration_dependencies:
  40. required:
  41. - language
  42. - user_profile_field_instance