Theme Blocks
theme_blocksList Drupal block placements with optional theme, region, and text filters. Find site blocks by label or plugin to answer questions like "do we have a Site branding block?"
Instructions
List placed blocks with optional theme, region, and text filters.
Reads every block.block.* placement from JSON:API: id, theme, region, label, plugin, weight, and enabled state. search matches label and plugin case-insensitively (the "do we have a block like Site branding?" question); theme_name and region narrow the list to one placement set. With no filters every placement on the site is returned, most specific sort first (theme, region, weight).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | ||
| search | No | ||
| theme_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||