PageRegion::loadForTheme can statically regions cache per-theme

Created on 6 August 2025, 2 days ago

Overview

During preview rendering, \Drupal\experience_builder\Entity\PageRegion::loadForTheme can be called multiple times via \Drupal\experience_builder\Entity\PageRegion::loadForActiveTheme

This causes multiple loadByProperties calls for the same page regions in a request.

Proposed resolution

Statically cache regions by theme in the method

User interface changes

✨ Feature request
Status

Active

Version

1.0

Component

… to be triaged

Created by

🇺🇸United States mglaman WI, USA

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024