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.
Adds links to Layout Builder to duplicate whole sections and individual blocks, without rebuilding them by hand.
Features
- Clone a section with its components: the copy is inserted right below the original.
- Clone a block into any region of any section in the layout, ordered by weight.
- Links appear next to the existing Layout Builder controls.
- No configuration screen.
How it works
- Open the layout in Layout Builder.
- Click
Clone sectionon the section, orClone Blockin the block's contextual menu and choose region and position. - Save the layout to keep the copy.
Requirements
- Drupal 10 or 11.
- Layout Builder (core).
Similar modules
- lb_copy_section: copies and pastes sections across pages; this module duplicates within the same layout.
- layout_builder_block_clone: focused on cloning blocks; this one also clones whole sections.
- section_library: stores reusable section templates; this one has no library, it only duplicates on the spot.
Roadmap
The public plan is in #3615136.
Ask your assistant about Layout Builder Section - 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.