drupal 9.0 core/aggregator module has deprecated code

Call to deprecated constant REQUEST_TIME: Deprecated in Drupal:8.3.0 and is removed from drupal:9.0.0. Use
\Drupal::time()->getRequestTime();

CommentFileSizeAuthor
#3 3113517-3.patch5.8 KBhimmatbhatia

Comments

himmatbhatia created an issue. See original summary.

himmatbhatia’s picture

Assigned: Unassigned » himmatbhatia
himmatbhatia’s picture

Assigned: himmatbhatia » Unassigned
Status: Needs work » Needs review
StatusFileSize
new5.8 KB

Fixing the above problem and providing patch for the above aggregator module.

hardik_patel_12’s picture

@himmatbhatia thankyou for your patch , but i think deprecated for aggregator module is already covered in #2902895:[meta] replace uses of REQUEST_TIME and time() with time service, Kindly check mentioned issue.

xjm’s picture

Status: Needs review » Closed (duplicate)

Yep! Marking as a duplicate of that issue.