Closed (fixed)
Project:
Layout Builder +
Version:
3.3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
29 Nov 2025 at 21:34 UTC
Updated:
13 Dec 2025 at 21:39 UTC
Jump to comment: Most recent
Tempstore + extends Drupal's temporary storage system with a flexible strategy pattern, enabling multiple modules to customize tempstore behavior without conflicts.
Drupal's core LayoutTempstoreRepository is designed to handle Layout Builder section storage. However, other modules and systems need different tempstore behaviors. Without tempstore_plus, each module must override layout_builder.tempstore_repository directly, which:
Tempstore + implements the Strategy Pattern for tempstore operations:
TempstoreStrategyInterface and define logic for specificWorkspaceKeyTrait
Comments
Comment #3
tim bozeman commented