Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291799

Allow recipes to enable Layout Builder via config actions

$
0
0

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.


Viewing all articles
Browse latest Browse all 291799

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>