Motivation
The current way we use some code from EntityFormDisplay but not all of it is confusing and difficult to maintain.
Proposal
- Implement EntityFormDisplayInterface
- Extend EntityDisplayBase instead for EntityFormDisplay.
The current way we use some code from EntityFormDisplay but not all of it is confusing and difficult to maintain.
Comments
Comment #2
andrewbelcher commentedLet's also add test coverage by extending
\Drupal\KernelTests\Core\Entity\EntityDisplayFormBaseTestwith flexiform enabled.Comment #3
andrewbelcher commentedLet's also add some kind of test that will notify us of upstream changes to
EntityFormDisplay, perhaps with a hash of the class and a risky if it changes?Comment #4
rlmumford