Global Blocks with Drupal Paragraphs and Block Modules
To archive flexible page layouts made up of global block content.
Prerequisites
- Install paragraphs module
- Install block field module
- Paragraphs module configured and added to a basic page content type
Key parts
- Create a block. it can be of a custom block type
- Create a paragraph type admin/structure/paragraphs_type
- Add a field and choose block(plugin)
- Set the default value to your block on the edit field settings page.
- Add your global block to the page using paragraph module
Create a page builder
Create a page builder for your drupal pages by utilising nested paragraph blocks
This post is licensed under CC BY 4.0 by the author.