Closed (duplicate)
Project:
Paragraphs
Version:
8.x-1.6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Mar 2019 at 14:42 UTC
Updated:
20 Aug 2020 at 05:35 UTC
Jump to comment: Most recent
Thanks for an amazing module! Paragraphs is the best thing in Drupal since sliced bread!
I have a block that is created via custom module.
I have a paragraph type that has one field, an entity reference field for "Block". And I can add my block via this field. When I view the page, the block doesn't display. When I go and add the block on the page via Block Layout, then I can see the block that is displayed via Block Layout as well as the block that is added via the paragraph.
What could be the problem that my block isn't showing on the page when I add it via paragraphs unless I also place the block via Block Layout?
Thanks for any help, much appreciated.
Comments
Comment #2
Kavya_akhil commented@hmartens,
You can create the block via Add custom block.
While creating the paragraph type field, create reference field with target type 'Custom block', not 'Block'.
Thus you can see the block in page.
Comment #3
osopolar#2854278: How to reference a module block