Drupal is a registered trademark of Dries Buytaert

jsonapi_frontend_layout

2 sites No security coverage
View on drupal.org

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
2
First release
Jan 2026
Latest release
1 month ago
Release cadence
1 day
Stability
100% stable

Releases

Version Type Release date
1.0.1 Stable Jan 4, 2026
1.0.0 Stable Jan 3, 2026