Part of the Graphql ecosystem · 39 projects
This module enables decoupled websites by exposing Drupal's Layout Builder content, such as blocks and their fields, through GraphQL. It allows you to query sections and components within a layout builder-enabled page.
The GraphQL Layout Builder module allows you to build decoupled websites using GraphQL and the full power of layout builder.
On any page with layout builder enabled you will find a new GraphQL field called "sections" containing "components".
Inside the components field you will find "contents" like blocks and their corresponding fields.
Requirements
This module requires GraphQL Module 3 and the Layout Builder module from Drupal Core.
Installation
- Install the GraphQL Layout Builder module as you would normally install a
contributed Drupal module. Visit https://www.drupal.org/node/1897420 for
further information.
Configuration
There is no real configuration necessary. Navigate to Administration >
Extend and enable the module.
Any entity with Layout Builder enabled will expose its field to GraphQL automatically.
Documentation
Please look into the "example" subfolder for an example GraphQL query.
Maintainers
- ayalon - https://www.drupal.org/u/ayalon
Supporting organization:
- Liip - https://www.drupal.org/liip
Ask your assistant about GraphQL Layout Builder
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- GraphQL graphql_core
- layout_builder
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Graphql ecosystem
Most installed first