You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
1.3 KiB

4 years ago
  1. uuid: 4dbad983-e470-4b71-b827-051f6c7419fc
  2. langcode: en
  3. status: true
  4. dependencies: { }
  5. id: upgrade_user_picture_field_instance
  6. class: Drupal\migrate\Plugin\Migration
  7. field_plugin_method: null
  8. cck_plugin_method: null
  9. migration_tags:
  10. - 'Drupal 6'
  11. - 'Drupal 7'
  12. - Configuration
  13. migration_group: migrate_drupal_7
  14. label: 'User picture field instance configuration'
  15. source:
  16. plugin: user_picture_instance
  17. constants:
  18. entity_type: user
  19. bundle: user
  20. name: user_picture
  21. settings:
  22. file_extensions: 'png gif jpg jpeg'
  23. alt_field: false
  24. title_field: false
  25. min_resolution: ''
  26. alt_field_required: false
  27. title_field_required: false
  28. process:
  29. entity_type:
  30. -
  31. plugin: get
  32. source: constants/entity_type
  33. bundle:
  34. -
  35. plugin: get
  36. source: constants/bundle
  37. field_name:
  38. -
  39. plugin: get
  40. source: constants/name
  41. settings:
  42. -
  43. plugin: get
  44. source: constants/settings
  45. settings/file_directory:
  46. -
  47. plugin: get
  48. source: file_directory
  49. settings/max_filesize:
  50. -
  51. plugin: get
  52. source: max_filesize
  53. settings/max_resolution:
  54. -
  55. plugin: get
  56. source: max_resolution
  57. destination:
  58. plugin: 'entity:field_config'
  59. migration_dependencies:
  60. required:
  61. - upgrade_user_picture_field
  62. optional: { }