Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
file system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
3 Sep 2014 at 11:01 UTC
Updated:
12 Sep 2023 at 11:55 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
xjmChange record draft: https://www.drupal.org/node/2332051
Comment #2
xjmComment #3
xjmComment #4
xjmComment #6
marvil07 commentedLess globals FTW, specially if they are used once, just re-tested.
Comment #7
alexpottThis issue is a normal task so we need to outline how it fits within the allowable Drupal 8 beta criteria. Can someone add Drupal 8 beta phase evaluation template to the issue summary.
I think it is fine to replace the usages and deprecate the procedural function for 9.x since the static method on the class already exists.
Comment #8
xjmComment #9
xjmComment #10
xjmComment #12
xjmRerolled to deprecate the function instead (the original patch was posted before the beta). Also added the beta evaluation. The DX impact of having one fewer global doesn't justify a BC break during the beta (no matter how small), but we can deprecate it to the same end, and it was a followup from a critical originally, which is a category of issue allowed during the beta.
Comment #13
marvil07 commentedWell, at least deprecating is a good step forward now.
Thanks for the new patch!
Comment #14
catchCommitted/pushed to 8.0.x, thanks!
Comment #17
quietone commentedpublish change record