Implement a bundle entity browser widget validation plugin

Created on 2 December 2019, over 5 years ago
Updated 19 August 2025, 4 days ago

Problem/Motivation

Entity Browser has Entity Type and Cardinality widget validation plugins that ensure a user cannot select an entity of a different entity type or cardinality but it doesn't care about target bundles.

Proposed resolution

We should support validate allowed target bundles from the field definition through a widget validation plugin.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Needs review

Version

2.0

Component

Widget plugins

Created by

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

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