Problem/Motivation
A new interface for entity reference field items was added in #3057545: ResourceTypeRepository wrongly assumes that all entity reference fields have the setting "target_type". Core should avoid reaching "into" the field settings to get information about reference-able bundles. So we should use this new method, here.
Broken out from this comment.
Comments
Comment #4
wim leers#3057545: ResourceTypeRepository wrongly assumes that all entity reference fields have the setting "target_type" landed, this is now unblocked!