Closed (duplicate)
Project:
Drupal core
Version:
11.x-dev
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
5 Feb 2019 at 13:16 UTC
Updated:
27 Feb 2024 at 21:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
satyanarayan reddy commentedThe REQUEST_TIME global constant has also been deprecated.
Comment #3
cilefen commentedHello. Thanks for the patch. We do not usually commit changes like this that are specific to one module. I am re-titling this issue as "Replace usages of the deprecated REQUEST_TIME constant".
Let's replace all of them.
It won't be trivial. To replace in one module is too small of a scope, but to change all of them in one patch may be too "big"—there are ~350 usages in core. We in fact may wish to break this down a bit, perhaps by splitting into an issue to replace usages in tests, another for modules, and another for lib.
Thanks for taking this up!
Comment #4
satyanarayan reddy commentedI was created patch for test and Module
Reference url
1) https://www.drupal.org/project/drupal/issues/3030999
2) https://www.drupal.org/project/drupal/issues/3030983
Comment #5
cilefen commentedComment #9
kristen polSee possibly related issues noted here:
https://www.drupal.org/project/drupal/issues/3112283#comment-13605217
Comment #14
megachrizThere is an other meta issue for this too #2902895: [meta][no patch] Replace uses of REQUEST_TIME and time() with time service.
Comment #17
andypostOther issue is fixed #2902895: [meta][no patch] Replace uses of REQUEST_TIME and time() with time service