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

Created on 6 May 2022, almost 3 years ago
Updated 4 July 2023, almost 2 years 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 about 5 hours 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