Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#2 | interdiff.txt | 748 bytes | Wim Leers |
#2 | 2134929-2.patch | 4.64 KB | Wim Leers |
#1 | 2134929-1.patch | 2.93 KB | Wim Leers |
Comments
Comment #1
Wim LeersComment #2
Wim LeersComment #3
jessebeach CreditAttribution: jessebeach commentedI reviewed and manually tested this code. It does not introduce any new behaviors or regressions.
Renaming
EntityView
toEntityDecorationView
makes sense in this case. This View is not rendering the entity in HTML, it's adding qualities to existing HTML.Comment #4
Xano2: 2134929-2.patch queued for re-testing.
Comment #5
webchickSeems 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!
Comment #6
Wim Leers