How to reference Paragraphs and Content from a Field

Created on 9 May 2025, 6 days ago

Problem/Motivation

First of all, I apologize if this isn't the right place to ask this question.

I'm running into this problem when trying to fit the use of Paragraphs into my data model.
Let me explain the use case.

I have a piece of content that we'll call A that contains a Paragraph.
Specifically, an Entity reference revisions with Reference type: Paragraph and unlimited values.

Now I need to create another type of content that we'll call B.
In content B, I need to create a field that contains references to both content of type A and paragraphs (entity reference revisions).
To provide an example:
Imagine a list of content, that can handle a reference to another content and also can handle the subcontents.
Is this possible?
I've tried creating it from Drupal, but it's not possible: you either point to one type or the other, but not both at the same time.
I'd like to find an elegant way to do this without having to do excessive programming.
Any ideas?

💬 Support request
Status

Active

Version

1.19

Component

Miscellaneous

Created by

🇪🇸Spain JOINSO Sabadell

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

Comments & Activities

Production build 0.71.5 2024