Change record status: 
Project: 
Introduced in branch: 
8.5.x
Description: 

There is now a new experimental module in core called Layout Builder.

It provides the ability to customize the layout of your content.

For example, to enable it for the "Article" content type, go to /admin/structure/types/manage/article/display.

Using the Layout Builder, you start by selecting predefined layouts for different sections of the page, and then populate those layouts with one or more blocks. Dries showed a demo at DrupalCon Vienna: https://www.youtube.com/watch?v=Hx4EEzI7aNE

This is the beginning of the work, the rest of the functionality is being tracked in this issue.

As of #2918500: Create a block which can render entity fields, blocks representing the fields of the entity can now be placed within the regions of a section.

Comments

MyDrop’s picture

I tried to activate the Layout Builder module on a fresh Drupal 8.5.0-alpha1 installation to get the same result as shown in the video.
I activated the "Layout Discovery" and "Field Layout" modules and I have the possibility to change the layout per content type (admin/structure/types/manage//display), but I did not find how to activate the Layout Builder UI.
Could you tell me how to enable this interface with the drag and drop feature? Is there an additional module to install?
Thank you for your help.

Edit : I just found out the Layout Builder UI in the 8.6.0-dev

nicholassimon’s picture

Just tried to install though get an error "Website encountered an unexpected error" so can't use it

nateb’s picture

Did you spot the specific error anywhere? You might find under Reports, in the error log, that there's something in particular that's gone wrong. (And that particular thing may be fixable)

gopisathya’s picture

The layout builder does not emit proper JSON output with core rest module.

When I try to access http://mysite.com/node/1/?_format=json it shows layout_builder__layout keys with empty sections.

layout_builder__layout: [
{
section: { }
},
{
section: { }
}
]
femrich’s picture

I looked under issues for Drupal core and did not see layout builder as an option under component. Where can I most usefully give feedback or find information specifically on layout builder as opposed to other core modules? Thank you.

Oops! Now I see there are tiers of separate categories under component--just had to scroll down further to find layout builder as an option. Question resolved.

Acquia Site Studio’s picture

We've been putting layout builder through its paces. Very interesting and looking forward to it being stable in core. We even got it working with our site building platform. Here is a video of the MVP of using DX8 to create the components that you can then use with layout builder https://vimeo.com/cohesiondx/core-layout-builder. Means the low-code approach goes much further than just the layout. What do people think?

mlncn’s picture

It has since been made stable and is documented here:

https://www.drupal.org/docs/8/core/modules/layout-builder

benjamin, Agaric