Postponed
Project:
Display Builder
Version:
1.0.x-dev
Component:
Main / Misc.
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Sep 2026 at 07:37 UTC
Updated:
24 Oct 2026 at 07:53 UTC
Jump to comment: Most recent
Comments
Comment #3
pdureau commentedHello Rajab,
Is
label_displaya property of the block plugin or of the block config entity?BlockSource is supposed (i say "supposed" because there may be some confusing bit in the implementation, i didn't check) load and manage a block plugin, not a block entity, so this distinction is important.
By the way:
How did you do that?
BlockSource::settingsForm()doesn't expose such settings as far as I know.Comment #4
pdureau commentedThe only blocks we have found with those kinds of options are the ones derived by Views.
However, they have "Title" string (
views_label) and "Override title" (views_label_checkbox) boolean, provided by\Drupal\views\Plugin\Block\ViewsBlockinstead of Title (label) and "Display title" (label_display) boolean.So, what do we do?
label_displaybehaviour (like started in this MR)? A said before, it must be restored only if it is part of the block plugin API, not the config entity API, and to be honest I am not sure anymore. We need to check.views_label? Can we address this without restoringlabel_displaybehaviour first?Anyway, it looks like a UI Pattern issue because it is where the
label_displayis hidden: https://git.drupalcode.org/project/ui_patterns/-/blob/2.0.x/src/Plugin/U...Comment #5
pdureau commentedComment #6
pdureau commentedTo discuss (see last comment)
Comment #7
pdureau commentedBugs must be addressed before the end of beta phase. I guess the absence of tags put this one under the radar.
But we can't afford to open such a deep discussion about block plugin VS block config entities so late in development, so close to 1.0.0.