Problem/Motivation
A time service was added to 8.3.x in #2717207: Add a time service to provide consistent interaction with time()/microtime() and superglobals.
Core code should be updated to remove deprecated uses of REQUEST_TIME and time() and others.
For more informations, see the change record.
Proposed resolution
Splitting this up into manageable chunks (#57 by @mpdonadio)
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | 3188273-11.patch | 7.74 KB | jrockowitz |
| #8 | 3188273-8.patch | 8.13 KB | jrockowitz |
| #6 | 3188273-6.patch | 8.9 KB | Pooja Ganjage |
| #4 | 3188273-4.patch | 8.9 KB | Pooja Ganjage |
| #2 | webform-replace_use_time_with_service-3188273-1.patch | 11.9 KB | andrewsizz |
Comments
Comment #2
andrewsizz commentedComment #4
Pooja Ganjage commentedHi,
Creating a patch for solving the issue that raised in #2 comment.
Please review the patch.
Thanks.
Comment #5
Pooja Ganjage commentedComment #6
Pooja Ganjage commentedCreating Updated patch as PHPLint failed.
Comment #8
jrockowitz commentedMinor tweak to the patch to make it backward compatible.
Comment #10
jrockowitz commentedIt seems almost impossible to fix WebformEntityReferenceFormatterBase in 8.x-5.x while in 6.x this should be easy to fix.
Comment #11
jrockowitz commentedThis is the best solution for 8.x-5.x
Comment #14
jrockowitz commented