Entity Browser Entity Reference Widget: wrap getCardinality() in own function

Created on 25 May 2022, over 2 years ago
Updated 12 January 2024, 10 months ago

Problem/Motivation

I would propose to wrap the call to FieldStorageDefinitionInterface::getCardinality in the Entity Browser Entity Reference widget in its own method within the widget. This would allow to override functionality based on field cardinality in the widget more easily.

Basically I am planning to integrate Field config cardinality with the Entity Browser and this would be a lot of easier this way.

Steps to reproduce

na

Proposed resolution

wrapper method for call to FieldStorageDefinitionInterface::getCardinality

Remaining tasks

create patch

User interface changes

na

API changes

na

Data model changes

na

Feature request
Status

Needs review

Version

2.0

Component

Widget plugins

Created by

🇩🇪Germany stefan.korn Jossgrund

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