Entities used by content blocks should not use label or status of layout builder node unless they are "inline" (non-reusable)

Created on 23 May 2025, about 2 months ago

Problem/Motivation

We have special treatment for Content Blocks such that if you have this setup:

Layout Builder Node > Content Block > Tracked Referenced Entity

And you view the usages of "Tracked Reference Entity", the label and status of the source entity is that of the Layout Builder Node instead of the Content Block.

However, this only makes sense for inline, non-reusable content blocks. Reusable content blocks can be used by many different layout builder nodes. It doesn't make sense to use any info from a parent layout builder node, because which one would you pick? Right now the module is just picking the first layout builder node that uses the reusable block which is confusing.

Steps to reproduce

Proposed resolution

When a source usage is from a content block, use the content block's own label and status if it's a reusable block.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bkosborne New Jersey, USA

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

Comments & Activities

Production build 0.71.5 2024