Replace non-test usages of \Drupal::cache() with IoC injection

Created on 29 March 2020, over 4 years ago
Updated 16 July 2024, 3 months ago

Problem/Motivation

Follow up #2729597: [meta] Replace \Drupal with injected services where appropriate in core

Proposed resolution

Replace all of them with IoC injection where possible

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Closed: outdated

Version

11.0 🔥

Component
Base 

Last updated about 2 hours ago

Created by

🇨🇳China jungle Chongqing, China

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇸United States smustgrave

    This issue is being reviewed by the kind folks in Slack, #needs-review-queue-initiative. We are working to keep the size of Needs Review queue [2700+ issues] to around 400 (1 month or less), following Review a patch or merge request as a guide.

    At this time we will need a D10 version of this patch.
    Also a rescan of the repo to see if there are other instances that need to be replaced.

  • 🇮🇳India Hardik_Patel_12 India

    The Book and CKEditor modules are no longer part of the core in version 11.x. Therefore, the patch at #20 is no longer applicable.

  • Status changed to Closed: outdated 3 months ago
  • 🇳🇿New Zealand quietone

    I agree this is outdated. Anyone wanting these changes should open an issue in the Book contrib module or the CKEditor contrib module.

Production build 0.71.5 2024