Block Layout Accordion
Drupal's Block Layout page (Structure > Block layout) lists every block on your site in one long table, grouped by region. That's fine on a simple site — but many real sites define a lot of regions, a common pattern being one region per landing page, so editors get a dedicated home for that page's hero, content blocks, and call-to-action. Once a site has a dozen or more regions, this admin page becomes an extremely long, hard-to-scan table.
This module turns each region's section into a collapsible accordion, using the region's own name as the toggle, so you can fold away everything except the region you're actually working in.
Features
- Turns every region section on the Block Layout page into a collapsible accordion, toggled by the region's own title.
- Works across every region on every theme shown on the page — not a hand-picked subset.
- Regions start collapsed to keep the page manageable, except one that was just handed a newly-placed block, which stays open so the core "Place block" workflow still shows you what you added.
- Pure progressive enhancement: no core render arrays, markup, or drag-and-drop weight reordering are touched. Region titles, "Place block" links, and tabledrag all keep working exactly as before.
- No admin-theme dependency. It works by reading Drupal core's own Block Layout table markup (
\Drupal\block\BlockListBuilder), so it looks and behaves the same under Claro, Gin, Seven, or any other admin theme — none of them override that page's markup.
Post-Installation
Nothing to configure. Enable the module and visit Structure > Block layout (/admin/structure/block) — every region section is immediately collapsible. Click a region's title to expand or collapse it. There's no settings form, no new permissions, content type, block type, or database table.
Additional Requirements
None beyond Drupal core's Block module, which is enabled on virtually every Drupal site by default.
Recommended modules/libraries
None — the module is intentionally self-contained.
Similar projects
A few modules cover related but different ground:
- Collapsiblock and Accordion Blocks / Accordions / Accordion Menus make block or menu content collapsible for visitors on the live front-end site — a different problem from this module, which only affects the admin-facing Block Layout page.
- Layout Collapse provides collapsible regions for Layout Builder sections specifically, not the classic Block Layout admin page this module targets.
- Drupal core has an open, unaddressed issue for this exact problem: #3273174 "Make regions collapsible on the block layout administration page", part of the Block Layout admin UX meta-issue. This module exists to solve that gap today, without waiting on a core commit.
Supporting this Module
No dedicated funding page. The best way to support the module is via the issue queue — bug reports, patches, and merge requests are all welcome.
Community Documentation
None yet — the module's README covers installation and a short technical explanation of how it works.
Depends on
Dependencies of the latest stable release
- block Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.0.0 | Stable | 10–11 | Initial release. | Aug 30, 2026 |