Improve the speed of \Drupal\Core\Theme\ThemeAccessCheck

Created on 24 July 2015, almost 10 years ago
Updated 2 May 2025, 10 days ago

Problem/Motivation

You need to check at least once per request whether the active theme you use is enabled.

Currently this is done by loading all themes.

Proposed resolution

Just load one of them.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Needs work

Version

11.0 🔥

Component

theme system

Created by

🇩🇪Germany dawehner

Live updates comments and jobs are added and updated live.
  • Performance

    It affects performance. It is often combined with the Needs profiling tag.

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.

Production build 0.71.5 2024