Problem/Motivation
An entity can usually be identified by its entity type and entity ID (or UUID).
However that does not give the full picture.
There is also the langcode, and possibly the workspace ID.
This is also relevant for any object that is stored in something like TempStore (or any KV store).
See #3026698: Allow section storage to provide a more granular ID for tempstore for more
Proposed resolution
Add a new method on entities (via a new interface implemented by the EntityBase class) that returns a string to more completely identify it.
Comments
Comment #2
tim.plunkettShifting slightly based on the changes in the issue that caused me to open this issue