CM Document for fieldable entities should show their fields

Created on 15 June 2023, over 1 year ago
Updated 6 November 2023, about 1 year ago

Problem/Motivation

If I am looking at a CM document for a fieldable entity (nodes, taxonomy, paragraphs, menus...) I should see a list of the fields on that entity.

The list should be rendered as a table with these values: field name, field type, help text (description), edit link for users with permission.

Steps to reproduce

Currently, when viewing a CM document field configurations are not listed on the document.

Proposed resolution

Provide a computed field (field_fields_summary) that can be placed using the admin screen at admin/config/system/cm_document/display that renders field name, field type, help text for each field of the entity in a table.

Remaining tasks

  1. Add code to get field data for the documented entity
  2. Add code that provides "field_fields_summary" as a rendered table when viewing a CM document for a fieldable entity

User interface changes

Admin interface at admin/config/system/cm_document/display will have a new field, field_fields_summary, that can be placed in display modes.

API changes

None

Data model changes

A computed field called field_summary would be added to CM documents entities.

✨ Feature request
Status

Fixed

Version

1.0

Component

Content model document

Created by

πŸ‡ΊπŸ‡ΈUnited States swirt Florida

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

Comments & Activities

Production build 0.71.5 2024