Open simonbaese opened 6 years ago
@simonbaese Thanks for submitting this! I haven't take a deep enough look, but the intent here is excellent. We should explore getting a PR open for this and merged as I do see the benefits :)
@amcgowanca looks like you got 2 PRs for this. Still want to merge it?
Current implementation
does not determine
entity_class
of used entity bundle, but rather of the given parent entity, as there is no parameter given togetEntityClass()
.I suggest to invoke the
postLoad
hook by bundle. Maybe like following.