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

Layout Builder should be opt-in per display (entity type/bundle/view mode)

$
0
0

Problem/Motivation

When #2922033: Use the Layout Builder for EntityViewDisplays is committed, Layout Builder will hide the ability to manage field display with the Field UI in the "Manage Display" tab, by replacing every Entity Type's entity_view_display class with its own.

While the user experience provided by Layout Builder is superior to the traditional Field UI, some Entity Types or bundles may want to "opt-in" of this functionality, for a variety of reasons:

  1. A contrib module that enhances Field UI, like Field Group, is used
  2. An Entity Type uses a custom entity_view_display class with logic specific to itself
  3. An Entity Type or bundle isn't advanced enough for Layout Builder to make sense - i.e. it only has a handful of fields that do not need a layout
  4. It could be confusing for users to suddenly have all their displays converted to the Layout Builder UI
  5. As a result of the above the migration path to Layout Builder (from both Core Field UI and from c ontributing modules such as Panalizer) could be hindered somewhat and less smooth

Proposed resolution

Layout Builder will no longer be required by every bundle, but will be opt-in

Remaining tasks

Write the confirmation form
Update tests

User interface changes

Undecided.

API changes

Undecided.

Data model changes

Undecided.


Viewing all articles
Browse latest Browse all 292486

Trending Articles



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