Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module provides a way for headless Drupal sites to render pages using Layout Builder. It exposes a JSON:API endpoint that returns a structured representation of the layout, including sections and blocks, which can then be used by a frontend application to build the page.

jsonapi_frontend_layout is an optional add-on for jsonapi_frontend that enables true headless Layout Builder rendering by exposing a normalized layout tree
API.

Features

  • Adds GET /jsonapi/layout/resolve?path=/about-us&_format=json
  • Uses jsonapi_frontend for alias/redirect/language negotiation + access checks
  • When applicable, returns a layout tree (sections + components) alongside the normal resolver contract
  • MVP component support: field blocks and inline blocks (returns JSON:API references for block content when possible)

Post-Installation

  1. Install and enable jsonapi_frontend and layout_builder.
  2. Enable Layout Builder for a bundle’s display (Manage display → enable Layout Builder).
  3. Request: GET /jsonapi/layout/resolve?path=/your-page&_format=json
  4. In your frontend: use the returned layout tree to render sections/components, and fetch any referenced JSON:API URLs. li>

Additional Requirements

Similar projects

Most decoupled approaches either (a) keep Layout Builder pages Drupal-rendered (hybrid) or (b) require custom per-site APIs. This module
provides a consistent, resolver-aligned layout tree endpoint designed for modern frontends.

Supporting this Module

Report issues and feature requests in the issue queue.

Community Documentation

Activity

Total releases
4
First release
Jan 2026
Latest release
1 month ago
Releases (12 mo)
4 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.0.3 Stable Jun 12, 2026
1.0.2 Stable Jun 12, 2026
1.0.1 Stable Jan 4, 2026
1.0.0 Stable Jan 3, 2026