This module enhances Drupal's Layout Builder by allowing site builders to clone existing content blocks directly from the layout editing page. It can create new reusable blocks or duplicate blocks for specific layouts, leveraging Entity Clone if available.
OVERVIEW
Layout Builder Block Clone (Block Duplicate) allows site builders to clone Content Blocks from Layout edit page. This module is
helper module for core Layout Builder module.
Module has integration with Entity Clone module. If Entity Clone module
is enabled Layout Block Clone will use entity_clone cloneEntity() functionality, if not single core entity->createDuplicate()
will be used to clone Block Content eck.
Cloned Block Content can be set to reusable (if so new Custom Block Content is added to /admin/structure/block/block-content
and can be re-used in layouts under 'Custom' section on 'Add Block'). There is an option to clone any additional config set-ups from other helper modules or custom code.
REQUIREMENTS
This module requires:
1. Layout Builder (core module)
2. (Optional) it is recommended to use Add reusable option to inline block creation patch
3. (Optional) Entity Clone
Ask your assistant about Layout Builder Block Clone (Block Duplicate)
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
- layout_builder Drupal core
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.3 | Stable | 8–10 | Feb 16, 2024 |