clone-seccion
clone-block
clone-block-form

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

  1. Open the layout in Layout Builder.
  2. Click Clone section on the section, or Clone Block in the block's contextual menu and choose region and position.
  3. 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.

Supporting organizations: 

Project information

Releases