I’ve some nodes with a number of photographs I wish to import. How can I mix sub_process
plugin with image_import
?
"field_image":[ {"src":"https://example.com/image1.png","alt":"Image 1","title":"Image one."}, {"src":"https://example.com/image2.png","alt":"Image 2","title":"Image two"} ]
What can I do to loop throw Drupal Development Service array of photographs and import them later.
Right here is instance of my YML migration course of configuration
course of: nid: nid title: title field_image: plugin: sub_process supply: field_image course of: plugin: image_import supply: src vacation spot: constants/file_destination title: title alt: alt