Optional bundle type for Entity Reference field

Created on 1 July 2019, almost 5 years ago
Updated 1 August 2023, 11 months ago

Problem/Motivation

For Entity Reference fields (Drupal core: 8.7.3), when using the Default Reference Method, it asks for allowed bundle types. For example, media type for a media reference field. In that case, when a new entity bundle type is added to the site, we need to manually update all fields for the reference type settings. Is it possible to just make that field optional so when none is selected, it will allow all bundle types to be used?

Proposed resolution

Make bundle type optional for an entity reference field and when none is selected, allow all bundle types to be used.

✨ Feature request
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia peterwcm

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.69.0 2024