Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Layout Builder Lock

Security covered Under active development 5,846 sites

This module allows administrators to restrict certain actions within a default layout, preventing users from modifying or deleting specific sections when overriding layouts for individual entities. It offers granular control over which elements and configurations users can alter.

Layout Builder Lock allows administrators to lock sections of a default layout so users can't perform certain actions when overriding the layout for an individual entity.

Lock options:

  • Update default blocks
  • Move default blocks
  • Delete default blocks
  • Configure a section
  • Add a section before or after
  • Move blocks from other sections into this section
  • Add new blocks: New blocks will be placed under default blocks. Users will be able to update, move and delete these blocks. Blocks from other sections can be moved into this section then, so the 'Move blocks from other sections into this section' lock setting will not apply anymore.

As soon as one lock setting is enabled, a user won't be able to delete the section either.

After installation

  • Go to admin/people/permissions and toggle the roles which are allowed to configure lock settings. The permission is 'Manage lock settings on sections'.
  • On the default display, click on any 'Configure section' link to open the section configure form and toggle the options you want to lock for users.
Drupal 9–10 · not 11

Ask your assistant about Layout Builder Lock

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

1 tracked project depends on this one

Activity

Tracked releases
4
Tracked since
Oct 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
2.0.0-rc2 Pre-release 9–11 Jun 4, 2024
2.0.0-rc1 Pre-release 9–10 Apr 25, 2024
8.x-1.4 Stable 9–10 Nov 27, 2023
8.x-1.3 Stable 9–10 Oct 24, 2023