Layout Builder Section - Block Duplicate
187 sites
Security covered
This module adds a clone button to Layout Builder, allowing users to quickly duplicate entire sections and individual blocks within their layouts. This speeds up content creation by enabling easy replication of existing layouts and their components without needing further configuration.
Layout Builder Section-Block Clone
A lightweight Drupal module that adds convenient clone functionality to Layout Builder,
allowing users to duplicate sections and blocks for faster content creation and layout management.
Table of contents
Features
- Section cloning: Duplicate entire sections with all blocks and configurations
- Block cloning: Clone individual blocks within sections
- Seamless integration: Clone links appear alongside existing Layout Builder controls
- No configuration needed: Works out of the box after installation
- Smart duplication: Preserves all block settings, configurations, and visibility rules
Requirements
- Drupal 10 or 11
- Layout Builder (core module)
Usage
Cloning Sections
- Enter Layout Builder mode on any page
- Hover over a section to reveal administrative links
- Click the “Clone section” link (appears with clone icon)
- The section duplicates immediately below the original
- Save your layout changes
Cloning Blocks
- In Layout Builder mode, hover over any block
- Click the contextual links button
- Select “Clone block” from the dropdown menu
- The block clones and appears after the original
- Save your layout changes
How It Works
The module:
- Integrates clone links into Layout Builder's existing interface
- Provides section cloning via
CloneSectionControlleralongside configure/remove options - Adds block cloning through contextual links using
CloneBlockForm - Preserves all original configurations and settings during duplication