- π©πͺGermany Anybody Porta Westfalica
I guess we need to add tests to define what we expect here and ensure it works that way.
Drupal fields now more and more use third_party_settings. For example layout_builder heavily relies on third_party_settings and common modules like fences also do.
As we found out, field_formatter with inline settings doesn't show these third_party_settings attached to the target entity field. As it uses "_custom" view mode, you have no chance to influence these third_party_settings, which may be important for the field display.
Install field_formatter and fences modules in a Drupal project with media.
Add an entity reference field to a node pointing to (for example) a media image entity. Chose field_formatter with inline settings and configure all fences settings to be "None" (no wrappers).
Only the reference field wrappers are removed, but not the ones of the referenced image entity. These can not be modified, even if you change the default media image display it has no effect
Display the target entity field third_party_settings form below the inline settings and save them for the custom view mode like you could in the target entity field.
Needs work
3.0
Code
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I guess we need to add tests to define what we expect here and ensure it works that way.