Deprecate ThemeHandlerInterface::rebuildThemeData() and use extension.list.theme service instead

Created on 4 February 2018, almost 7 years ago
Updated 14 March 2024, 9 months ago

Problem/Motivation

In #2659940: Extension System, Part III: ThemeExtensionList and ThemeEngineExtensionList โ†’ , the responsibility of managing the list of themes and theme data is moved to \Drupal::service('extension.list.theme'). This issue is a follow up to deprecate ThemeHandlerInterface::rebuildThemeData() and replace it with calls to \Drupal::service('extension.list.theme')->reset() and \Drupal::service('extension.list.theme')->getList()

Proposed resolution

Replace all usages and deprecate ThemeHandlerInterface::rebuildThemeData() and trigger a silenced error. Also, when replacing the usages we should ensure that we don't unnecessarily rebuild the module list.

Remaining tasks

Review MR
From "Proposed resolution"

Also, when replacing the usages we should ensure that we don't unnecessarily rebuild the module list.

Review CR

User interface changes

None

API changes

None

Data model changes

None

๐Ÿ“Œ Task
Status

Fixed

Version

10.3 โœจ

Component
Extensionย  โ†’

Last updated 1 day ago

No maintainer
Created by

๐Ÿ‡ณ๐Ÿ‡ฌNigeria almaudoh

Live updates comments and jobs are added and updated live.

Missing content requested by

๐Ÿ‡ฆ๐Ÿ‡บAustralia dpi
10 months ago
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024