Problem/Motivation

At the moment, these fields are added to the entity response automatically: type, entity_type, bundle, id, label, transform_mode.
There can multiple reasons for not exposing all this information and letting the user make the decision.

Thus, I suggest we show all returnable fields in the configurations page along the entity's other fields.
Further, exposing the fields in the configurations, it eases the (re)use of plugins and altering the fields before showing - e.g. type casting the ID as integer.

Proposed resolution

I am currently unable to assess how much effort it requires to make this change.

Comments

NicklasMF created an issue. See original summary.

nicklasmf’s picture

Issue summary: View changes
nicklasmf’s picture

Issue summary: View changes
lupusgr3y’s picture

Do be aware that only ID and label are actually fields. However they are also fields that are not exposed for display purposes, otherwise they would already show up.

There might be other ways to add these in a configurable manner on transform modes, like display plugins or directly on the transform mode.

lupusgr3y’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.