Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Varbase FAQs 9.2.1 Minor update available for module varbase_faqs (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

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

  1. Enter Layout Builder mode on any page
  2. Hover over a section to reveal administrative links
  3. Click the “Clone section” link (appears with clone icon)
  4. The section duplicates immediately below the original
  5. Save your layout changes

Cloning Blocks

  1. In Layout Builder mode, hover over any block
  2. Click the contextual links button
  3. Select “Clone block” from the dropdown menu
  4. The block clones and appears after the original
  5. Save your layout changes

How It Works

The module:

  1. Integrates clone links into Layout Builder's existing interface
  2. Provides section cloning via CloneSectionController alongside configure/remove options
  3. Adds block cloning through contextual links using CloneBlockForm
  4. Preserves all original configurations and settings during duplication


Activity

Total releases
3
First release
Aug 2025
Latest release
8 months ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Slowing

Release Timeline

Releases

Version Type Release date
1.0.1 Stable Nov 13, 2025
1.0.0 Stable Aug 29, 2025
1.0.x-dev Dev Aug 20, 2025