Allow recipes to enable layout builder

Created on 12 November 2024, 3 months ago

Problem/Motivation

Currently, it does not seem possible to enable layout builder for an existing content type via a recipe.
Using setThirdPartySettings on the default view display seems to have no effect.

This will be needed for Drupal CMS as we decided to use layout builder enabled view modes and even overrides.

Steps to reproduce

Try to create a recipe that sets up layout builder for the page content type

Proposed resolution

By marking some of the methods in LayoutBuilderEntityViewDisplay as action methods, this should become possible.

✨ Feature request
Status

Needs work

Version

11.0 πŸ”₯

Component

recipe system

Created by

πŸ‡§πŸ‡ͺBelgium L_VanDamme

Live updates comments and jobs are added and updated live.
  • Starshot blocker

    A potential blocker for Drupal Starshot. More information: http://www.drupal.org/project/starshot

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024