Link block to content_block

Created on 1 March 2024, 11 months ago

Problem/Motivation

After attaching block_content entities to a block the only place that shows an integration between the the block and the block_content entities is in the contextual menu. If that is disabled, there is no way to easily see that relationship. Especially if the parent block's title has been changed.

Once a block_content entity exists, there is no easy way from the block_content entity to connect it to a block. This can only be done during the content_block creation.

Steps to reproduce

Create block_content, go to the block layout, find and edit the parent block. There is no link on the block form that shows the block_content entity.

Edit a block_content entity. On that form, there is no way to link it to a block or a link to existing block entities.

Proposed resolution

  • Every block entity should have links to edit any associated content relationship.
  • Every block should have an option to change or repair the block_content relationship.
  • Every block_content entity should have links to the edit form for every parent block entity and an option to connect to a new block as it does on creation.

I have attempted to build hooks or plugins to accomplish this, but it seems like it is a more complicated process than it seemed at first.

Feature request
Status

Active

Version

10.3

Component
Block content 

Last updated 20 days ago

Created by

🇺🇸United States Chris Dart

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

Comments & Activities

Production build 0.71.5 2024