Problem/Motivation
Currently the module overrides the EntityTypeManager service class to inject its functionality. To have it more fail-safe (e.g. if another module also tries to override the entity type manager), use the decorator pattern to extend the service instead.
Proposed resolution
- Use decorator pattern to extend
EntityTypeManagerservice class - see these helpful links:
Remaining tasks
- Provide a patch
Comments
Comment #3
stborchertFinally found the way to decorate instead of override. Thanks @hctom.