Provides a GraphQL schema extension to expose global menu and group menu from Drupal. The requirement is to have a schema id named "graphql" (TODO to make it editable).
This module depends on drupal/graphql and drupal/group modules, here is a quick look on the full schema to expose global & group menus:
{
menuGlobal(language: "en", menu: "main") {
title
url {
path
}
children {
title
url {
path
}
}
}
menu(groupId: "group_1", name: "name", language: "en") {
name
items {
title
url {
path
}
children {
title
url {
path
}
}
}
}
}
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
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
Activity
Releases
| Version | Type | Core | Release date | |
|---|---|---|---|---|
| 1.0.x-dev | Dev | May 2, 2023 |