Skip to content

Entity view displays overrides with Display Builder

Activate

You need display_builder_entity_view module and ui_patterns_field sub-module from UI Patterns 2 project.

Contrary to Layout Builder, there is no "Allow each content item to have its layout customized" checkbox in the "Manage display" and no "magic" field added to the content bundle.

You can activate Content Overrides for each display:

Before activate

On activation, you can pick the Config Profile the content editors will use:

Activate 1

A content field has been automatically created to store the overrides:

Storage

The field can be changed later:

Activate 2

It is not possible to pick the same field in different displays.

Use Display Builder in the content

Any user with both the permission to edit the content and the one to use the display builder profile can override the display.

A mechanism similar to Layout Builder's overrides, but not limited to the default display.

If the user can override at least one display, a Display tab is added in the content edit tabs:

Tabs

If the user can override only one display, this tab is a direct link to this display. If the user can override many, a second row of tabs is visible:

Sub tabs

The builder is a regular one with the same sources as Entity View Display plus some sources only available when editing a content:

Builder

The Publish button stores the display in the content field. The Restore button loads the display from the content field.

Tip

Content editors can override the display once per configured display (default, teaser, etc.). This gives you granular control over how content appears in different contexts.

See also