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

Created on 29 March 2020, about 4 years ago
Updated 2 February 2023, over 1 year 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

Needs work

Version

10.1 ✨

Component
BaseΒ  β†’

Last updated about 2 hours ago

Created by

πŸ‡¨πŸ‡³China jungle Chongqing, China

Live updates comments and jobs are added and updated live.
  • Needs change record

    A change record needs to be drafted before an issue is committed. Note: Change records used to be called change notifications.

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

    UpdateManagerInstall
    HtmlResponseAttachmentsProcessor

    Just for example have references to \Drupal::state()

    Will need change records for the new parameters to be passed to the constructors.

Production build 0.69.0 2024