Provide reverse relationships for bundle plugin entity_reference fields.

Created on 1 April 2021, almost 4 years ago
Updated 30 August 2024, 4 months ago

Problem/Motivation

#3116128: Add an EntityViewsData handler for improved Views integration β†’ added reverse relationships for base entity_reference fields, but it would be great to have these reverse relationships added for bundle plugin provided entity_reference fields as well.

Steps to reproduce

This isn't a bug - but if you create a bundle entity_reference field referencing an entity type, then go to add a view for this entity type there is no "relationship" for the bundle field's host entity.

Proposed resolution

Find and include bundle plugin entity_reference fields before adding all of the reverse relationships.

Remaining tasks

Implement change
Add test (unsure if there is test coverage for this?)

User interface changes

N/A

API changes

N/A

Data model changes

N/A

✨ Feature request
Status

Needs review

Version

1.0

Component

Views integration

Created by

πŸ‡ΊπŸ‡ΈUnited States paul121 Spokane, WA

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

Merge Requests

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