Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
file.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
16 Dec 2024 at 01:43 UTC
Updated:
19 Mar 2025 at 12:34 UTC
Jump to comment: Most recent
Comments
Comment #2
kim.pepperComment #5
ramprassad commented@Kim, Sure I will update my changes for the MR in sometime and provide an update
Comment #6
ramprassad commentedComment #7
ramprassad commented@Kim, I have updated the MR with the changes and created a change record for this change https://www.drupal.org/node/3494172. All tests pass.
Comment #8
ramprassad commentedComment #9
ramprassad commentedComment #10
ramprassad commentedComment #11
kim.pepperLeft some comments.
Comment #12
nicxvan commentedIf you added the needs tests tag to test the deprecation we don't need tests for that.
https://www.drupal.org/about/core/policies/core-change-policies/how-to-d...
If it's for something else let me know.
I left this on the MR too just because I sometimes miss the comments at the bottom of the overview page.
Comment #13
ramprassad commentedComment #14
rohan_singh commented+1, I agree with @kimpepper.
Renaming the function name to getDownloadHeaders() sounds better and justifies the functionality implemented.
Moving this to needs work.
Comment #15
ramprassad commented@Kim, I have changed the method name to getDownloadHeaders().
Moving this to review, please check.
Comment #16
smustgrave commentedSmall comment on MR
CR needs to be updated for 11.2 also
May count as an API change? If yes that section should be updated
Thanks
Comment #17
ramprassad commented@kim,@smustgrave: The merge conflicts from the 11.x rebase on this MR has been resolved and I fixed few CI issues related to the 11.x changes in this MR. I had updated the CR related to this change as well. Please check
Comment #18
ramprassad commentedComment #19
smustgrave commentedNeed rebase.
But typehint can be added to the hook so we don’t need to add to the baseline
Comment #20
ramprassad commented@smustgrave, I have made the necessary changes, please check.
Comment #21
berdirReviewed.
Comment #22
smustgrave commentedComment #24
karimb commentedComment #25
nicxvan commentedOne issue with the deprecation, if you can apply my suggestion I see no other issues after reviewing this, I can RTBC after this.
Comment #26
nicxvan commentedComment #27
karimb commentedDone! Nice catch @nicxvan! Thx ;)
Comment #29
nicxvan commentedLooks great now thanks!
Comment #30
catchComment #32
catchCommitted/pushed to 11.x, thanks!