Problem/Motivation
During __construct(), EntityDisplayBase ensures that all extra fields are correctly added as components.
However, it does so by directly manipulating internal variables, bypassing ::setComponent().
Any subclasses, such as the one added in #2922033: Use the Layout Builder for EntityViewDisplays, needs to be able to track the components as they are added.
Using the API will allow this.
See #2925657: EntityDisplayBase::init() should use ::setComponent() for fields and #2953656: No ability to control "extra fields" with Layout Builder
Proposed resolution
Use ::setComponent() correctly
Remaining tasks
N/A
User interface changes
N/A
API changes
N/A
Data model changes
N/A