Part of #1989974: [meta] Clean up/improve consistency of Edit.

Rationale:

  • This is not a view of the entity itself, it's a view that decorates the existing entity on the page: it does not render anything, it only decorates something.
  • This is not an API change.
CommentFileSizeAuthor
#2 interdiff.txt748 bytesWim Leers
#2 2134929-2.patch4.64 KBWim Leers
#1 2134929-1.patch2.93 KBWim Leers
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Wim Leers’s picture

Status: Active » Needs review
FileSize
2.93 KB
Wim Leers’s picture

FileSize
4.64 KB
748 bytes
jessebeach’s picture

Status: Needs review » Reviewed & tested by the community

I reviewed and manually tested this code. It does not introduce any new behaviors or regressions.

Renaming EntityView to EntityDecorationView makes sense in this case. This View is not rendering the entity in HTML, it's adding qualities to existing HTML.

Xano’s picture

2: 2134929-2.patch queued for re-testing.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Seems fine, and brings consistency to the code base. I can't imagine this would break any contrib modules that were already porting to D8.

Committed and pushed to 8.x. Thanks!

Wim Leers’s picture

Issue tags: -sprint

Status: Fixed » Closed (fixed)

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