This module allows site builders to set a maximum number of blocks allowed in specific regions of a Layout Builder layout. When a region reaches its limit, the option to add more blocks is hidden, preventing editors from exceeding the defined threshold.
Layout Builder Block Limit lets site builders set a maximum number of blocks allowed per region in Layout Builder layouts. When a region reaches its limit, the "Add block" button is hidden, preventing editors from adding more.
Features
- Set per-region block limits scoped to a specific entity type and bundle (e.g. limit the content region on node/article to 3 blocks)
- Works with both default layouts and per-entity layout overrides
- Simple admin UI at Administration > Configuration > Layout Builder Block Limit
- No interference with the Layout Builder UI beyond hiding the Add block button when the limit is reached
Post-Installation
After enabling the module, go to Administration > Configuration > Content authoring > Layout Builder Block Limit to add limits. Each limit is defined by:
- Entity type — machine name (e.g.
node) - Bundle — machine name (e.g.
article) - Region — Layout Builder region machine name (e.g.
content) - Maximum blocks — the maximum number of blocks allowed in that region
Limits take effect immediately in the Layout Builder UI. Remove any limit from the same settings page.
Additional Requirements
- Drupal core Layout Builder module (included in Drupal core ^10.3 || ^11)
Similar projects
Layout Builder Restrictions provides broader control over which block types are allowed in regions. Layout Builder Block Limit focuses specifically on quantity — how many blocks of any type can exist in a region.
Ask your assistant about Layout Builder Block Limit
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.
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.0 | Stable | 10–11 | Apr 13, 2026 |