Provide Page and Page Variant as context values while rendering each component in the Layout

Created on 14 June 2023, about 1 year ago

The Responsive Layout Builder → module allows to lazy load (or dynamically load) each component within the Layout Builder based on breakpoints. It was originally designed to work for Layout Builder for content entities like Node.

We want to extend its support for the Page Manager module but it does not provide enough context information about each layout component to indicate where it belongs. Then only the Responsive Layout Builder module can act on the component to make it load dynamically load depending on the screen size.

The core Layout Builder module provides context about the entity, its view mode and display for each component in content entity layout with LayoutBuilderEntityViewDisplay::getContextsForEntity() method. We need something like than in Page Manager module as well.

✨ Feature request
Status

Needs review

Version

4.0

Component

Code

Created by

🇮🇳India junaidpv Kannur, Kerala

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

Comments & Activities

Production build 0.69.0 2024