Problem/Motivation
Block content are displayed within block and so have some special structure.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | display_builder-3548498-8.patch | 3.42 KB | grimreaper |
| #4 | Capture d’écran du 2025-09-24 18-18-22.png | 86.84 KB | grimreaper |
Issue fork display_builder-3548498
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
grimreaperNeed to discuss proposed solution because now block have no more title while in some places it is requested.
Comment #4
grimreaperDefault block has a lot of preprocesses, need to inspect that.
Comment #5
grimreaperComment #6
grimreaperComment #7
grimreaperThe MR fixes the following cases:
- block content (using DB in its view display) displayed in Block Layout
- block content (using DB in its view display) displayed in Layout Builder
Case still missing: block content (using DB in its view display) displayed in Display Builder. At least Display Builder Page Layout for now, not tested with others.
Discussed with @pdureau, to fix with #3501797: Add a ContentEntity source for slots with a Content entity context as it will allow to call the rendering of the block content entity directly without trying to render it as a block.
Comment #8
grimreaperComment #9
grimreaperAlso block content (using DB in its view display) no more render the block title (at least in LB, not tested with Block Layout).
Comment #10
pdureau commentedIndeed, so we will do the "final" fix during beta phase, once UI Patterns is ready.
For this beta1 MR, we need to do one those strategies:
Comment #11
grimreaperDiscussed with @pdureau.
Comment #12
grimreaperComment #13
grimreaperComment #14
grimreaperAfter a call with @g4mbini, confirming that the 2 issues were duplicated.
The problem is that with the proposed MR, there is no more contextual links to administer blocks in LB (or anywhere), so not usable in this state.
The solution needs to be discussed.
Comment #15
pdureau commentedIt may be the same issue as #3542276: Embedding a display in an other with a formatter (an other case of a display managed by Dsplay Builder nested in a display managed by Dsplay Builder)
Comment #16
grimreaperComment #17
g4mbiniOK on my side. Tested it, I don't have any duplicate information displaying anymore.
Comment #18
grimreaperThanks, I will do a last check with Pierre, because of a case I had maybe because switching branch to test other MRs.
Comment #19
grimreaperComment #20
g4mbiniTested again, OK on my side again.
Comment #21
pdureau commentedthat's great!
Comment #23
mogtofu33 commented