Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Tempstore +

70 sites Security covered Drupal 10–11
View on drupal.org

Tempstore+ enhances Drupal's temporary storage system, allowing modules to customize storage behavior without conflicts. It provides specific strategies for different needs, including enabling Edit Mode on pages outside of Layout Builder for the + Suite page builder. This makes tempstore functionality more flexible and extensible for various Drupal site building scenarios.

Tempstore+ makes Edit Mode work on non-layout builder pages for the + Suite page builder.

▶ Watch an introduction to +Suite

Overview

Tempstore + extends Drupal's temporary storage system with a flexible strategy pattern, enabling multiple modules to customize tempstore behavior without conflicts.

Problem

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:

  • Conflicts when multiple modules try to override the same service
  • Complex inheritance chains that are difficult to maintain
  • Challenges supporting optional module dependencies

Solution

Tempstore + implements the Strategy Pattern for tempstore operations:

  • Strategies implement TempstoreStrategyInterface and define logic for specific
    storage types
  • Tagged services are automatically discovered and registered with configurable
    priority
  • Priority-based selection ensures the right strategy handles each tempstore operation

Features

  • Workspace Awareness: Built-in support for workspace isolation via
    WorkspaceKeyTrait
  • Extensible: Add custom strategies by creating a class and tagging it as a service
  • No Conflicts: Multiple modules can provide strategies without overriding each other
  • Backward Compatible: Works alongside modules that haven't adopted the pattern yet

Included Strategies

  • LayoutTempstoreStrategy: Handles Layout Builder section storage with workspace
    awareness
  • EntityTempstoreStrategy: Adds tempstore functionality for non-Layout Builder pages

Depends on

Dependencies of the latest stable release

  • layout_builder Drupal core

Required by

3 tracked projects depend on this one

Activity

Tracked releases
6
Tracked since
Nov 2025
Latest release
5 months ago
Releases (12 mo)
6 ▲ from 0
Maintenance
Slowing

Release Timeline

Releases

Version Type Core Release date
1.0.4 Stable 10–11 Mar 2, 2026
1.0.3 Stable 10–11 Feb 13, 2026
1.0.2 Stable 10–11 Jan 6, 2026
1.0.1 Stable 10–11 Nov 29, 2025
1.0.0 Stable 10–11 Nov 29, 2025
1.0.x-dev Dev 10–11 Nov 29, 2025