I am building Views with a field to display the entity's content_moderation_state.
For FieldFormatter, I select 'Content moderation state', which is the ContentModerationStateFormatter defined within Content Moderation module.
On executing the view, I see that the field content is not so formatted. The machine name, not the label is displayed.
In fact, when debugging, I find that we do not even hit the ContentModerationStateFormatter! Views is displaying the machine name and disregarding the request to format.
Has anyone else had this problem or have a solution? Many Thanks.