Postponed (maintainer needs more info)
Project:
Drupal core
Version:
main
Component:
migration system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Dec 2025 at 11:56 UTC
Updated:
14 Dec 2025 at 15:30 UTC
Jump to comment: Most recent
Comments
Comment #2
benjifisherYou can already do something like the following:
That should copy the source file to
public://migrated_files/2018-01/myfile.txt. Thesource_datecould be supplied directly by the source plugin or it could be the result of theformat_dateplugin.Can you be more specific about what you want to do that is not already possible? Maybe give an example of the migration YAML that you would like to use. It seems to me that, as my example shows, you can already set the destination path to anything you want, including something based on information from the source.