Section Storage context provider

Created on 11 December 2023, 12 months ago
Updated 12 December 2023, 12 months ago

Problem/Motivation

In a custom block plugin, there is a need to determine, whether the block is shown in layout_builder context or in frontend. The render array built in the plugins build() function would then differ.

Proposed resolution

A "Section storage context" which can be used by plugins, determining the current context.
I wonder why there isn't yet such a context, as i'm pretty sure that it could help out with a lot of issues.

✨ Feature request
Status

Closed: duplicate

Version

11.0 πŸ”₯

Component
Layout builderΒ  β†’

Last updated about 3 hours ago

Created by

πŸ‡©πŸ‡ͺGermany drupatz

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

Comments & Activities

Production build 0.71.5 2024