Display Builder¶
The theme_view_display_builder sub-module builds an override with
Display Builder instead of the formatter table.
It adds a buildable plugin, theme_entity_view, that edits the sources of an override the way the
entity_view buildable edits those of a core display.
Requires Display Builder 1.0.0-beta10 or later and its display_builder_entity_view sub-module.
Enabling it on an override¶
Open the edit page of an override, pick a profile under "Enable with profile", and save. The page then shows a "Display builder" button and hides the field table. Choosing "Disabled" brings the table back; the formatter settings were never changed.

The access rules stack. The user needs the permission of this module, the core display permission of the entity type, and the permission of the Display Builder profile.
Building¶
The builder opens at .../display/{view_mode}/theme/{theme}/display-builder.

- First open. The sources are copied from the core display when it is built with Display Builder. Otherwise the formatter table of the override is converted, as Display Builder does for a core display.
- Publish. Publishing writes the sources to the override and saves it. The core display is not touched. Saving recalculates the dependencies, so the themes and modules providing the components used become dependencies of the override.
- Preview. The preview iframe renders in the theme of the override, not in the default theme. The preview of a core display still renders in the default theme.
- Instance ID.
theme_entity_view__{theme}__{entity_type}__{bundle}__{mode}.
Until the first publish, the override has a profile but no sources, and the formatters of the override render.
Components from other themes¶
Display Builder lists components for the default theme. Components that exist only in the theme of the override are not in its Library panel, and the component settings form resolves components for the default theme. A component provided by another theme can be used, but then the override depends on that theme as well.
An SDC component is rendered with the Twig namespaces of the active theme. Components of one theme may not render in another theme that does not provide those namespaces. Build an override with components the target theme can render.