Convert drupal_rebuild() and drupal_flush_all_caches() functions into cache Rebuilder class

Created on 19 November 2018, about 6 years ago
Updated 8 November 2023, about 1 year ago

Followup #2999721: [META] Deprecate the legacy include files before Drupal 9 β†’

Problem/Motivation

Kill includes β†’

Proposed resolution

Convert drupal_rebuild and drupal_flush_all_caches functions into cache Rebulder class methods. Class methods have to be static as they are used in container rebuild process.

Remaining tasks


User interface changes

none

API changes

New class Drupal\Core\Cache\Rebuilder
drupal_rebuild and drupal_flush_all_caches functions become deprecated.

Data model changes

none

πŸ“Œ Task
Status

Needs work

Version

11.0 πŸ”₯

Component
CacheΒ  β†’

Last updated about 5 hours ago

Created by

πŸ‡ΊπŸ‡¦Ukraine voleger Ukraine, Rivne

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

  • Needs architectural review

    The issue is available for high level reviews only. If there is a patch or MR it is not to be set to 'Needs work' for coding standards, minor or nit-pick changes.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

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

Production build 0.71.5 2024