Problem/Motivation

There is a special case on the EntityFormatter of the module that is not needed.

Proposed resolution

Remove it.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

yongt9412 created an issue. See original summary.

johnchque’s picture

Status: Active » Needs review
StatusFileSize
new1.81 KB

Should be fine. :)

berdir’s picture

Title: Remove special case on EntityFormatter » Remove special case on EntityFormatter for new entities.
Status: Needs review » Reviewed & tested by the community

Not sure about test coverage. We certaionly add tests in paragraphs.

johnchque’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new1.88 KB
new1.03 KB

Discussed. This approach should work.

berdir’s picture

Status: Needs review » Reviewed & tested by the community

Yes, this should be save.

As discussed, lets try to do this in core too, with the same changes.

berdir’s picture

For the core issue, we might also want to update the entity_view() call with an injected entity view builder, we can do that in a follow-up too in ERR but shouldn't block the release on it.

miro_dietiker’s picture

Status: Reviewed & tested by the community » Fixed

Committed, thx.

Status: Fixed » Closed (fixed)

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