layout_builder_block_copy
14 sites
No security coverage
Layout Builder Block Copy adds a Copy block action to Drupal's Layout Builder, allowing content editors to duplicate any inline block within the same section with a single click.
Unlike shallow-clone approaches, this module performs a deep clone: each copy becomes a brand-new, fully independent block_content entity. Editing a copied block never affects the original, and deleting the original never removes the copy.
Features
- One-click duplication from the block's contextual menu in Layout Builder edit mode
- Deep cloning — copies are new
block_contententities, not references - Full independence between original and copy in both directions
- Compatible with the Quick Node Clone module — cloned nodes receive their own independent block entities
- No contrib dependencies beyond Drupal core
Requirements
- Drupal 10.3 or higher (Drupal 11 compatible)
- Core Layout Builder module must be enabled
Compared to Layout Builder Block Clone
This module was created to address known issues in the similar Layout Builder Block Clone project, including shallow cloning behavior and Drupal 11 incompatibility.