Set Block Category to Bundle in block_content module

Created on 19 June 2020, about 4 years ago
Updated 7 September 2023, 10 months ago

Problem/Motivation

Currently the block_content module sets it's block category to Custom for all block types that are created. It would be helpful if it could use the bundle name as the block category. It would be easier to tell which block type you placed in the layout screen. Also it would be helpful in other modules such as the block_field module so that you can select which type of block you want to reference.

Steps to reproduce

  1. Enable layout builder
  2. Create 2+ block types
  3. Create a custom block for each type
  4. Go into layout builder see that the category is custom for all blocks

Proposed resolution

Save block bundle type as the category for the block

Remaining tasks




Manual Review
Code Review
Commit

User interface changes

NA

API changes

NA

Data model changes

NA

Release notes snippet

Block Content module now uses the block type label as the block category. The list of blocks in layout builder now shows block content blocks grouped by their block type.

✨ Feature request
Status

Postponed

Version

11.0 πŸ”₯

Component
Block contentΒ  β†’

Last updated 4 days ago

Created by

πŸ‡ΊπŸ‡ΈUnited States redndahead

Live updates comments and jobs are added and updated live.
  • Needs usability review

    Used to alert the usability topic maintainer(s) that an issue significantly affects (or has the potential to affect) the usability of Drupal, and their signoff is needed. When adding this tag, make it easy to review the issue. Make sure the issue summary describes the problem and the proposed solution. Screenshots usually help a lot! To get sign-off on issues with the "Needs usability review" tag, post about them in the #ux channel on Drupal Slack, and/or attend a UX meeting to demo the patch and get direct feedback from designers/UX folks/product management on next steps. If an issue represents a significant new feature, UI change, or change to the general "user experience" of Drupal, use Needs product manager review instead. See the scope of responsibilities for product managers.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024