Issue #2562099 by Dave Reid, amateescu: EntityReferenceEntityFormatter uses entity_view() and does not inject the entity manager