Allow simple reference field to paragraph items

Created on 9 March 2021, over 3 years ago
Updated 19 February 2024, 4 months ago

First of all apologies for a new ticket the same name as a previous one:
https://www.drupal.org/project/paragraphs/issues/2722379 β†’

...but I have a use case where it is a requirement to be able to reference paragraphs in a way where the paragraphs themselves are not updatable.

The scenario is:
User entity has a paragraphs field called "Children".
The children field is a standard entity reference revisions field where unlimited paragraphs can be added.
There is one reference-able paragraph type: "child", which has fields for Name, Age, Height, etc.

Then using the flag module to flag a node against a user. Flag types are fieldable and there is then the structure so a flagged node can be sub flagged to a child(ren) of that user. This is achieved already on a Drupal 7 site where it is possible to "entity reference" either paragraphs or field collections.

We now have to migrate this logic to Drupal 8/9 and it would appear this is not possible as "paragraph item" does not seem to be an option when adding a new "reference" field despite it being a simple reference to an entity, which I have to admit is the strength of Drupal's entity architecture no matter how obscure it might seem.

✨ Feature request
Status

Closed: duplicate

Version

1.0

Component

User interface

Created by

πŸ‡¬πŸ‡§United Kingdom iancawthorne

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