fix: #3623217 Render the block label when the block is set to display it

Closes https://www.drupal.org/project/display_builder/issues/3623217

The block source renders the label above the block content when label_display is stored as visible. A title given by the block wins, as core does.

Tested on Drupal 11.4 with PHP 8.4: the "Who's online" title shows on the node and in the builder canvas.

Checkpoints

  • Issue linked
  • Tested locally
  • CI pipeline green
  • Code review by maintainers

AI-Generated: Yes

Edited by Rajab Natshah

Merge request reports

Loading
Loading