Use EntityReferenceItemInterface::getReferenceableBundles() in EntityReferenceAutocompleteWidget::getAutocreateBundle()

Created on 6 May 2022, over 2 years ago
Updated 4 July 2023, over 1 year ago

Problem/Motivation

A new interface for entity reference field items was added in πŸ› ResourceTypeRepository wrongly assumes that all entity reference fields have the setting "target_type" Fixed . 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 πŸ› ResourceTypeRepository wrongly assumes that all entity reference fields have the setting "target_type" Fixed .

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component
FieldΒ  β†’

Last updated 10 minutes ago

Created by

πŸ‡ΊπŸ‡ΈUnited States bradjones1 Digital Nomad Life

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024