Global overview for all entity type's form displays & field displays

Created on 5 February 2024, 5 months ago
Updated 7 February 2024, 5 months ago

Problem/Motivation

In larger Drupal projects it's often a hard task to configure all form and field displays per entity types / bundles / view modes consistently!

On the other hand, it's easy to misconfigure something, but hard to compare later. At least in the UI. Technical users might try to use configuration export, but I think that's also not very convenient.
Field tools already provides a great tool to list all fields at admin/reports/fields.

Similar to that, it would be great to also have a listing of all entity types and their form display configuration and field display configurations.
Entity type
- Bundle
-- Form Display
--- Display Mode
---- Configuration
-- Field Display
--- Display Mode
---- Configuration

In a first step, it would surely be (hard) enough to just list them and provide a link to the entity type's form to change the configuration.
In a later step it would be even better to be able to edit them on this central page, but I think that will not be simple-

What do you think about this idea? Would it also help other site builders?

(I wanted to write down the idea so far)

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Anybody
  • πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica
  • πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica
  • πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica
  • πŸ‡¬πŸ‡§United Kingdom joachim

    That sounds like it could be useful.

    > In a later step it would be even better to be able to edit them on this central page, but I think that will not be simple-

    It would be fairly easy to make a link to the relevant 'Manage display' page, and append a redirect destination to when the user saves that form they come back to this central list.

  • πŸ‡§πŸ‡ͺBelgium beerendlauwers

    I'm working on something similar: given a field storage, I'd like to mark one field instance's display configuration as "canonical", and then ask the system to give me an overview of diffs for all other instances of the field.

    I'd then like to be able to mark particular parts of the non-canonical configuration to be overwritten. For example, I might not care about a different description in some cases, but I do care about the type of form widget that is used. In other cases, I might want to enforce the descriptions to be the same. I'm thinking of some checkboxes next to each key in the settings array.

Production build 0.69.0 2024