Closed mooror closed 2 months ago
Let me know if this PR needs tests. I have never done one before, but I am willing to learn if needed
Thanks for doing that.
No tests needed - everything that already worked will still work, this just gives some additional arguments that people can opt into using when they implement the onBulkUpload
extension hook method.
Thanks for doing that. No tests needed - everything that already worked will still work, this just gives some additional arguments that people can opt into using when they implement the
onBulkUpload
extension hook method.
Sounds good :+1:
Description
This PR adds the $fileID and $record variables to the "onBulkUpload" extension point that is in the createDataObject() method (in BulkUploadHandler.php). This allows developers to easily set additional fields on the newly created records and use data from the uploaded file to do so.
See the related issue for a usage example
Manual testing steps
Issues
296
Pull request checklist
Replaces
297 (Initial PR)
302 (Revision 1)