Paragraph blocks
This module lets you use paragraphs as blocks within Drupal's Layout Builder, allowing for structured content placement. It enables you to position individual paragraph items or entire paragraph fields as distinct blocks anywhere on your page. This provides flexibility in organizing and displaying content by leveraging both paragraphs and the Layout Builder interface.
Summary
With this, you can use paragraphs to create structured content on your page, and allow layout builder to place the block anywhere!
It allows you to place each value of a muti-value paragraph field into a different block using Drupal's Layout Builder. It allows you to place paragraph fields from related entities in a similar manner. It does so by extending both paragraphs with an admin title that is only used in the UI for layout and extending layout manager by providing the blocks for placement.
Which branch should I use?
For Drupal 10 and higher, use the 4.x branch. The earlier 3.x is only there if you still run an old D8/D9 site.
Using with Core Layout Builder
Defining paragraph labels in entity type configuration
Check "Use Layout Builder" on the entity referencing the paragraph. Click "Save". Click on "Manage Layout." Click on "Add Block" from somewhere in the layout builder. The blocks can be named by defining a default admin_title per paragraph type. There are a couple of paragraph specific tokens available so you can easily define a pattern like: "[paragraph:bundle] - [paragraph:summary]".
Using individual paragraph labels per entity
If you also check "Allow each paragraph", you can place blocks based on the admin label you give for each paragraph item. Then edit the entity itself. Click on the "Layout" tab. Now when you click on "Add Block" instead of seeing the patterned title you will see paragraph items with the individual admin labels provided during editing.
Demo
Support
For critical issues, please ping us on Drupal slack.