LazyParagraphBuilder doesn't use the view mode from field settings

Created on 16 February 2022, about 3 years ago
Updated 8 January 2025, about 2 months ago

Problem/Motivation

The lazy paragraph builder don't use the view mode of the field settings from the view mode, so the template suggestions and view mode are by default the Full view mode (or Default if no Full view mode has been setup).

Steps to reproduce

N/A

Proposed resolution

Get the view mode the field items in the field preprocess to pass it to the lazy callback and use it to the view builder to render the paragraph.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇫🇷France xavier.masson Haute-Normandie

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024