Questions tagged [paragraphs]
Use it for questions relating to the Paragraphs module, not for text or body paragraphs.
486 questions
0 votes
0 answers
36 views
Image path changed after adding translation or clone
I am facing the following behavior. Pattern 1 Create English content Upload an image to Thumbnail field (this is a content field) Add a paragraph and upload an image (paragraph field) Add Japanese ...
1 vote
0 answers
285 views
Since 11.2, default revision of the 'paragraph' entity type can not be changed to a non-default revision
Just upgraded my dev env from drupal 11.1.8 to 11.2.0, and getting this error i'm fighting with since hours : (works with 11.1.8) Drupal\Core\Entity\EntityStorageException : An existing default ...
0 votes
0 answers
32 views
Initializing paragraph field [duplicate]
In Drupal 10, I am using a Paragraph field in a content type, and I want to display 18 Paragraph items by default (when creating new content). How should I do? Goal: When a user creates new content of ...
0 votes
0 answers
40 views
how to print paragraph fields in theme [duplicate]
My Article content type has a paragraph field. My paragraph at /admin/structure/paragraphs_type/myparagraph/fields has fields called field_big_text and field_small_text I can print the paragraph field ...
0 votes
0 answers
168 views
How to get started with Layout Paragraphs after successfully getting it installed?
Following up on previous question How to install Dragula, I am looking for help using Layout Paragraphs with Mercury Editor. The installation of Layout Paragraphs, Mercury Editor and Dragula, etc., ...
0 votes
0 answers
76 views
"You are not allowed to remove this Paragraph." on Paragraphs when in staging envinment using Workspaces
We just started using the Workspace module, and when we edit content in the "Stage" environment, the Paragraphs do not allow deleting (only editing existing ones). They show the message: &...
1 vote
0 answers
64 views
How can I migrate nested JSON into nested paragraphs?
I am working on migrating data from JSON into Drupal nodes, where multiple items contain multilevel data that need to be mapped to entity references using paragraphs. { "title": "...
0 votes
0 answers
31 views
How do I link an already imported paragraph field?
I am working on a custom migration in Drupal where nodes have a reference field to paragraphs. The source data is in JSON format, and a sample structure looks like this: { "sample": [ ...
0 votes
0 answers
26 views
Output file field description in paragraph.html.twig
How do I output the description for the file field in Drupal 10? I was hoping {{ content.field_files['#description'] }} or {{ content.field_files.0['#description'] }} may do it but nope. I attach the ...
1 vote
1 answer
196 views
How to make a Paragraphs entity Reference Field in Custom Entity
I've created a custom entity in a custom module and one of the fields on this entity is an entity reference field to a Paragraphs typed entity. The field is created just fine and i can even 'add' a ...
0 votes
1 answer
79 views
How to disable a Paragraphs bundle for only _new_ content?
We have a Paragraphs bundle that we’re sending into semi-retirement. We’d like to prevent new content from being created with it. We want to leave existing content as-is. How can we prevent this ...
0 votes
0 answers
22 views
Access child paragraph fields in parent field - How to get link field url value of child paragraph in parent paragraph [duplicate]
I have a field of type "link" named "field_link" in a child paragraph, I'm unable to get this field value in the parent paragraph using the below: {{content.field_childpara....
0 votes
1 answer
413 views
Duplicates in views with paragraph fields
Summary: Duplicate items in view where there are paragraph fields. I've dug through everywhere trying to find a solution to this. I found a very long bug report about it and tried the patch. Even ...
1 vote
0 answers
256 views
Paragraph translations - an additional twist
As per https://www.drupal.org/docs/contributed-modules/paragraphs/multilingual-paragraphs-configuration: I have a node bundle with a paragraphs field. The paragraphs field is NOT set for translation. ...
0 votes
1 answer
121 views
How can I add script initialization in the paragraph template and substitute the desired value?
I have a paragraph content builder that has a countdown element. Moreover, this element, like other types of paragraphs, can be added an unlimited number of times. This means that the script must be ...