Display title being ignored after upgrading to 1.7

Created on 5 December 2024, 5 months ago

Problem/Motivation

The Display Title checkbox when cretaing Inline Blocks is being ignored.
This issue was introduced by https://www.drupal.org/project/block_content_template/issues/3347364 📌 Add label to block content Fixed
I was running the 1.5 version fine, however after I upgraded to 1.7 the blocks started to display the title even tough I have configured Display title to "unchecked"

Steps to reproduce

When on 1.7 version, use layout builder with Inline Blocks.
Make sure you create a block and uncheck the Display Title.

Proposed resolution

Refactor template_preprocess_block_content to account for label_display configuration.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇧🇷Brazil carolpettirossi Campinas - SP

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

Comments & Activities

Production build 0.71.5 2024