The Block Field module lets you add and configure custom block instances directly to content entities like nodes or paragraphs. This allows you to embed reusable content blocks, such as those from the Custom Block Library, into various parts of your site.
About this Module
The Block Field module provides a field that allows a content entity to reference and configure custom block instances.
Use Cases
- Add blocks to a node's sidebar.
- Add blocks to paragraph.
- Create a carousel of content and configurable blocks.
Demo
Evaluate this project online using simplytest.me.
Installation
-
Copy/upload the
block_field.moduleto the modules directory of your Drupal installation. -
Enable the 'Block field' module in 'Extend'. (/admin/modules)
-
Add the 'Block (plugin)' field to any content entity
Notes
-
The Block field's block instances are stored as configuration, which is good thing, since site builders and editors can easily tweak them with impacting any configuration management.
-
All content blocks from the 'Custom Block Library' are available.
Ask your assistant about Block field
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 8.x-1.0-rc5 | Pre-release | 9–11 | Aug 13, 2024 |