Problem/Motivation

Currently, there is no option to display the entity's ID in the detailed field formatter. This feature would be beneficial for users who require the entity ID to be explicitly shown for reference or other purposes.

Steps to reproduce

  1. Navigate to detailed field formatter.
  2. Observe that there is no option to include the entity's ID in the displayed output.

Proposed resolution

  1. Add an "ID" column to the header, positioned before the entity field.
  2. Update the Usage.php service file to process the ID option and ensure it is included in the detailed field formatter output.

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

CommentFileSizeAuthor
#5 3497435-5.patch1.75 KBmohammad-fayoumi
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mohammad-fayoumi created an issue. See original summary.

mohammad-fayoumi’s picture

StatusFileSize
new1.75 KB

Created a patch file to merge the current MR with the critical issue here Error: Call to a member function hasLinkTemplate() on null

mohammad-fayoumi’s picture

Assigned: mohammad-fayoumi » Unassigned
Status: Active » Needs review