Drupal is a registered trademark of Dries Buytaert
Release: Leaflet 10.4.11 Minor update available for module leaflet (10.4.11). Release: Session Inspector 1.0.8 Minor update available for module session_inspector (1.0.8). Release: Migrate QA 2.0.4 Minor update available for module migrate_qa (2.0.4). Release: CKEditor Description List 3.0.0 Major update available for module ckeditor_descriptionlist (3.0.0). Release: FlowDrop 2.4.0 Minor update available for module flowdrop (2.4.0). Release: JWT Token Refresh 1.0.4 Minor update available for module jwt_token_refresh (1.0.4). Release: ConReg 1.0.0-beta1 First beta version released for module conreg (1.0.0-beta1). Release: AI Image Studio 1.0.0-beta8 New beta version released for module ai_image_studio (1.0.0-beta8). Usage Milestone: Statistics Counter Module statistics_counter crossed 1,000 active installs. Module Revived: Decoupled Router 2.0.7 Module decoupled_router updated after 11 months of inactivity (2.0.7).

This module provides a visual audit trail for Drupal's Layout Builder, tracking every block change, including additions, modifications, moves, and deletions. It highlights field-level differences and allows users to see who made which layout adjustments.

Layout Builder Audit is a powerful, visual audit trail for Drupal's core Layout Builder. It is designed to answer the age-old content management question: "Who changed this page, and what exactly did they do?"

While Drupal core tracks node revisions, it does not provide granular visibility into exactly which blocks were added, modified, moved, or deleted within the Layout Builder interface. This module bridges that gap by providing a beautiful, timeline-based UI directly on your nodes to track every single layout action.

✨ Key Features

  • Granular Action Tracking: Automatically tracks and logs every block creation, modification, movement (region changes), and deletion.
  • Visual Field Diffs: When a user edits a block, the audit log breaks down the exact field-level changes (e.g., text edits, setting changes) in a clean, side-by-side "Before vs After" table.
  • Ghost Save Detection: Intelligently detects when a user opens and saves a block without making actual field modifications, logging the save but clearly tagging that no visible content changed.
  • Beautiful, Modern UI: Features a timeline-based user interface directly integrated into a new "Layout Audit" tab on your nodes. Events are grouped cleanly by date with interactive accordions to reduce clutter.
  • Comprehensive Metadata: Logs the user (with UID), timestamp, IP address, block UUID, block plugin ID, and specific region transitions.
  • Advanced Filtering: Easily filter the audit log by specific event types (Created, Modified, Moved, Deleted) to find exactly what you're looking for, complete with pagination for heavy editorial sites.
  • Performance Optimized: Uses custom database tables and handles serialized block configurations efficiently to ensure no performance hit to your editorial experience.

📖 How it Works

Once installed, the module works silently in the background. Every time a content editor uses the Layout Builder interface to manage blocks on a node, Layout Builder Audit intercepts those actions and logs the exact configuration changes into a custom database table.

To view the audit trail:

  1. Navigate to any node that has Layout Builder enabled.
  2. Click the Layout Audit tab (located next to the standard "Layout" and "Edit" tabs).
  3. Browse the interactive timeline of changes!

📦 Installation

Install the module via Composer to ensure all dependencies (if any are added in the future) are managed correctly:

composer require 'drupal/layout_builder_audit:^1.0'

Enable the module via Drush (or via the Extend UI):

drush en layout_builder_audit

💡 Requirements

  • Drupal 10 or higher.
  • The core Layout Builder module must be enabled.

Activity

Tracked releases
2
Tracked since
Aug 2026
Latest release
6 days ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.0.0 Stable Aug 17, 2026
1.0.x-dev Dev Aug 7, 2026