Problem/Motivation

I suggest supporting adding inline blocks in the predefined layouts, so when creating a new node using this layout it will automatically create a clone for the existing inline blocks in the layout.

Steps to reproduce

1- Create a custom block called accordion.
2- Create another custom block called the accordion section.
3- Add the entity reference field to the accordion block to reference the accordion section block.
4- Create a new layout from the layout library.
5- Add an accordion block to a section.
6- Create a node with the created layout.
7- It will create the accordion block but it will keep using the original accordion sections (inline-block) that are used in the layout.

Proposed resolution

There is exist issue opened for layout library module, and we can use the patch from it for now. #3273160: Support inline blocks in layout

Remaining tasks

  • ✅ File an issue about this project
  • ✅ Addition/Change/Update/Fix to this project
  • ✅ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ Accessibility and Readability
  • ✅ Code review from 1 Varbase core team member
  • ✅ Full testing and approval
  • ✅ Credit contributors
  • ✅ Review with the product owner
  • ✅ Update Release Notes and Update Helper on new feature change/addition
  • ✅ Release varbase-9.0.6, varbase_layout_builder-10.0.12, varbase_layout_builder-9.0.4

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • Issue #3274455 by Odai Atieh: Added support to automatically create a clone for the existing inline blocks in the layout in Layout Library
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Odai Atieh created an issue. See original summary.

odai atieh’s picture

Status: Active » Needs review
rajab natshah’s picture

Title: Support inline blocks in layout library » Support inline blocks in Layout Library to automatically create a clone for the existing inline blocks in the layout
Issue summary: View changes

rajab natshah’s picture

Title: Support inline blocks in Layout Library to automatically create a clone for the existing inline blocks in the layout » Add support inline blocks in Layout Library to automatically create a clone for the existing inline blocks in the layout
rajab natshah’s picture

Title: Add support inline blocks in Layout Library to automatically create a clone for the existing inline blocks in the layout » Add support to automatically create a clone for the existing inline blocks in the layout in Layout Library
rajab natshah’s picture

rajab natshah’s picture

Assigned: mohammed j. razem » Unassigned

rajab natshah’s picture

Status: Needs review » Fixed
rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

✅ Released varbase-9.0.6

rajab natshah’s picture

Issue summary: View changes

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.