Theme Regions
theme_regionsInspect a Drupal theme's region layout and the blocks assigned to each region, revealing empty regions and orphaned placements.
Instructions
Region layout of a theme with the blocks placed in each one.
Regions come from the theme's info.yml in declaration order; each carries its blocks (label, plugin, weight, enabled state) and a count, so empty regions and placements in regions the theme no longer defines are both visible at a glance. Needs DRUPAL_ROOT (info.yml) and the JSON:API client (block placements).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||